Per-target execution platform constraints for exec groups #23245
Replies: 5 comments 17 replies
-
Thanks for sending this. Overall, I agree that this is useful functionality and makes a lot of sense. I have two areas I want to focus in on, so I'm going to create two sub-threads, one for each. |
Beta Was this translation helpful? Give feedback.
-
SyntaxI have a slight preference for your alternate syntax, although it makes expressing both the default and non-default a bit confusing:
However, this parallels how I also am not excited about having semi-dynamic attribute names added to rules, although I acknowledge that since execution groups are a static set the new attributes would not actually change dynamically. I'm going to ask @comius and @brandjon, as the rule API and Starlark experts: which is cleaner, adding new attributes based on the execution groups, or adding the new |
Beta Was this translation helpful? Give feedback.
-
Automatic Execution GroupsI think that, even with automatic execution groups, users can currently use @kotlaja, what do you think? Is this something we should allow users to do, or is it against the ideas behind automatic execution groups.? |
Beta Was this translation helpful? Give feedback.
-
Looks good to me, waiting for @comius to return (Thursday this week) and give an opinion. |
Beta Was this translation helpful? Give feedback.
-
With @comius's review, go ahead and mark this as Approved. I'm happy to handle the PRs. |
Beta Was this translation helpful? Give feedback.
-
The official discussion of the "Per-target execution platform constraints for exec groups" proposal, which aims to introduce new
*_exec_compatible_with
attributes (most importantly,test_exec_compatible_with
) to all rules that can be used to influence the selection of execution platforms for actions running in a non-default action group (such as tests).Feedback is very welcome!
Beta Was this translation helpful? Give feedback.
All reactions