Skip to content

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

Closed
coeuvre wants to merge 1 commit intobazelbuild:masterfrom
coeuvre:fix-remote-default-exec-properties
Closed

Remote: Merge target-level exec_properties with --remote_default_exec_properties#14193
coeuvre wants to merge 1 commit intobazelbuild:masterfrom
coeuvre:fix-remote-default-exec-properties

Conversation

@coeuvre
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@coeuvre
Copy link
Copy Markdown
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 <[email protected]>
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