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

Tell remote execution to not use remote cache internally #17198

Conversation

Eric-Arellano
Copy link
Contributor

@Eric-Arellano Eric-Arellano commented Oct 11, 2022

Closes #17142.

We rely on the RemoteCache command runner for caching with remote execution. We always disable remote servers from doing caching themselves not only to avoid wasted work, but more importantly because they do not have our same caching semantics, e.g. ProcessCacheScope.SUCCESSFUL vs ProcessCacheScope.ALWAYS.

@Eric-Arellano Eric-Arellano added the category:internal CI, fixes for not-yet-released features, etc. label Oct 11, 2022
# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@Eric-Arellano Eric-Arellano changed the title Tell remote execution to not use remote cache internally if --no-remote-cache Tell remote execution to not use remote cache internally Oct 12, 2022
@Eric-Arellano Eric-Arellano requested a review from stuhood October 12, 2022 21:20
Copy link
Member

@stuhood stuhood left a comment

Choose a reason for hiding this comment

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

Thanks!

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@Eric-Arellano Eric-Arellano enabled auto-merge (squash) October 12, 2022 21:54
@Eric-Arellano Eric-Arellano merged commit 8a22a45 into pantsbuild:main Oct 14, 2022
@Eric-Arellano Eric-Arellano deleted the remote-cache-read-opt-impacts-proto branch October 14, 2022 21:40
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.

Remote execution is caching failed process
2 participants