Skip to content
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

Remote: Merge target-level exec_properties with --remote_default_exec_properties #14193

Closed

Conversation

coeuvre
Copy link
Member

@coeuvre coeuvre commented Oct 29, 2021

Per-target exec_properties was introduced by 0dc53a2 but it didn't take into account of --remote_default_exec_properties which provides default exec properties for the execution platform if it doesn't already set with exec_properties. So the per-target exec_properties overrides --remote_default_exec_properties instead of merging with them which is wrong.

Fixes #10252.

@coeuvre coeuvre requested a review from philwo October 29, 2021 07:21
@google-cla google-cla bot added the cla: yes label Oct 29, 2021
@bazel-io bazel-io closed this in 3a5b360 Oct 29, 2021
@brentleyjones
Copy link
Contributor

Can this get cherry-picked into the 5.0 RC? 🙏 Thanks!

@coeuvre
Copy link
Member Author

coeuvre commented Nov 2, 2021

Sure!

Wyverald pushed a commit that referenced this pull request Nov 3, 2021
…_properties (#14212)

Per-target `exec_properties` was introduced by 0dc53a2 but it didn't take into account of `--remote_default_exec_properties` which provides default exec properties for the execution platform if it doesn't already set with `exec_properties`. So the per-target `exec_properties` overrides `--remote_default_exec_properties` instead of merging with them which is wrong.

Fixes #10252.

Closes #14193.

PiperOrigin-RevId: 406337649
(cherry picked from commit 3a5b360)

Co-authored-by: Chi Wang <chiwang@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Per-target exec_properties overwrites (not merges with) --remote_default_exec_properties
3 participants