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 execution is only enabled globally if environments aren't used at all #17135

Merged
merged 5 commits into from
Oct 10, 2022

Conversation

Eric-Arellano
Copy link
Contributor

It's now possible to use environments generally, but for the current env target to be set to None, thanks to #16983.

This was resulting in faulty logic that we were treating the --remote-execution flag as a global switch for remoting, when really if environment targets are used at all, then we should only use remoting when a remote_environment target is active.

[ci skip-rust]

[ci skip-build-wheels]

… at all

[ci skip-rust]

[ci skip-build-wheels]
@Eric-Arellano Eric-Arellano added the category:internal CI, fixes for not-yet-released features, etc. label Oct 6, 2022
@Eric-Arellano Eric-Arellano enabled auto-merge (squash) October 6, 2022 21:43
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@Eric-Arellano Eric-Arellano requested a review from stuhood October 7, 2022 16:29
@Eric-Arellano Eric-Arellano disabled auto-merge October 7, 2022 16:29
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@Eric-Arellano Eric-Arellano merged commit 7042938 into pantsbuild:main Oct 10, 2022
@Eric-Arellano Eric-Arellano deleted the remote-exec-global-fix branch October 10, 2022 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants