Starlark Transition Composition #22019
Replies: 4 comments 31 replies
-
I am overall very supportive of this addition, it would help clean up a bunch of indirections required to combine an exec transition with a non-exec transition.
What if the second transition in
Now that there is |
Beta Was this translation helpful? Give feedback.
-
Nit: I don't like using the plus Could we use a different operator? If it's not allowed in Starlark, I'm ok with a new built-in function as well. |
Beta Was this translation helpful? Give feedback.
-
Pushed an update to clarify the precise semantics. @fmeum, I know you were interested, let me know if this is more clear. |
Beta Was this translation helpful? Give feedback.
-
LGTM on latest revision. |
Beta Was this translation helpful? Give feedback.
-
We've had native transition composition for a long time, let's make that available to Starlark users!
Design proposal here: https://github.com/bazelbuild/proposals/blob/main/designs/2024-04-16-transition-composition.md
Tagging @gregestren as reviewer, but anyone with comments feel free to contribute.
Beta Was this translation helpful? Give feedback.
All reactions