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

Deprecate implicit setting of --remote-cache-{read,write,eager-fetch} with --remote-execution #15900

Merged

Conversation

stuhood
Copy link
Member

@stuhood stuhood commented Jun 22, 2022

#15854 moved to using the remote_cache runner wrapped around the remote runner. That opened the door to using different values of various --remote-cache settings, but to preserve existing behavior, we implicitly enabled those settings with remote execution.

This change deprecates the implicit settings, asking that users set the previous defaults manually.

[ci skip-build-wheels]

…e}`, and temporarily deprecate enabling eager_fetch.

[ci skip-build-wheels]
@stuhood stuhood requested review from tdyas and Eric-Arellano June 22, 2022 19:59
@stuhood stuhood enabled auto-merge (squash) June 22, 2022 19:59
"""
`--remote-execution` cannot be set at the same time as either
`--remote-cache-read` or `--remote-cache-write`.
# TODO: When this deprecation triggers, the relevant TODO(s) in `context.rs` should be
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should all of these TODOs be tagged with the same issue number to make finding them easier in the future?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mm, whoops: this was set to auto-merge. Yes, possibly. But blame should point to this PR fairly easily (which was why I made it a bi-directional reference).

@stuhood stuhood merged commit f8bccd2 into pantsbuild:main Jun 22, 2022
@stuhood stuhood deleted the stuhood/remote-execution-stack-deprecations branch June 22, 2022 21:52
Eric-Arellano added a commit that referenced this pull request Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants