Skip to content

Only set persistentWorkerProtocol for persistent actions#29299

Draft
armandomontanez wants to merge 1 commit intobazelbuild:masterfrom
armandomontanez:persistent-worker-protocol-if-remote
Draft

Only set persistentWorkerProtocol for persistent actions#29299
armandomontanez wants to merge 1 commit intobazelbuild:masterfrom
armandomontanez:persistent-worker-protocol-if-remote

Conversation

@armandomontanez
Copy link
Copy Markdown
Contributor

The persistentWorkerProtocol platform property was unconditionally added to any action with requires-worker-protocol in its execution requirements, even when the action was not a remote persistent worker request. This could cause unexpected platform properties when sent as a non-persistent remote action.

Gate the persistentWorkerProtocol property behind --experimental_remote_mark_tool_inputs so it's only set when it is needed.

Work towards #29267.

RELNOTES: None

The `persistentWorkerProtocol` platform property was unconditionally
added to any action with `requires-worker-protocol` in its execution
requirements, even when the action was not a remote persistent worker.
This could cause unexpected platform properties on regular remote
actions.

Gate the `persistentWorkerProtocol` property behind
`--experimental_remote_mark_tool_inputs` so it's only set when it is
needed.

Work towards bazelbuild#29267.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant