Repository navigation
ci: save remote soldr caches only from master - #1291
Merged
Merged
Conversation
8 of 15 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
setup-soldr's default
autosave policy permits merge-group and feature-branch uploads, despite our master-only warming intent. Those entries consume the shared cache budget while the janitor treats their refs as disposable.Set
save-cache-remoteon every setup-soldr invocation to save only fromrefs/heads/master. This covers master pushes and nightly/manual master runs, keeps PR/queue restores, and leaves local act/act2 saves enabled. Align the cache contract comments and CI documentation with that behavior.Validation: RED d755ec8 failed at all seven unguarded call sites. GREEN d5357d3 passes 8 focused policy/toolchain/pin/contract tests, Ruff, and diff checks. Existing target-adding toolchain-cache safeguards are retained. Post-merge traffic measurements remain tracked in #1286.
Refs #1286.