-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass singleton list to transition for allow_multiple setting default #15655
Conversation
@gregestren Another edge case that wouldn't arise if |
Would it help for you, I, and @aranguyen to sync on this? The proliferation of issues, PRs, and designs both illustrate the relevance and is making it harder for me to keep up (all my own fault!) I could find a sync recap helpful. |
I think it would. I'm back on June 30, feel free to send an invite. |
Is #15653 (comment) still active even with this PR? |
Yes, I don't expect the current PR to fix that bug. |
Where were we at with this PR, in the context of the wider discussion we all had last month? |
It's another reason for getting rid of |
Since the code is here, we might as well have it work a bit better as long as this API exists. |
Do you know what's up with the branch conflicts? |
Previously, the default value of a user-defined string setting with `allow_multiple = True`, which is internally represented as a string, was passed to transitions as a string, not a list containing the single string. Fixes bazelbuild#15653
@gregestren 2f7d965 caused a large conflict. CI will tell whether I found the right new place for the updated logic. |
@aranguyen Could you review this PR? It has been stuck for a while, maybe we can move it forward. |
@fmeum sure I can help. I have no more capacity this week but I can review next week if that is okay with you. |
@aranguyen Friendly ping, would be great to get this into Bazel 6. |
@fmeum it's on my list. I'm also working on another 6.0 release blocker. Sorry for the delay. |
LGTM! @sgowroji FYI, I've already started the internal merge. |
Previously, the default value of a user-defined string setting with `allow_multiple = True`, which is internally represented as a string, was passed to transitions as a string, not a list containing the single string. Fixes bazelbuild#15653 Closes bazelbuild#15655. PiperOrigin-RevId: 476375200 Change-Id: Id036f17836e2523aa50c7b026f5397ab0a88952b
Previously, the default value of a user-defined string setting with
allow_multiple = True
, which is internally represented as a string,was passed to transitions as a string, not a list containing the single
string.
Fixes #15653