Repository navigation
ci: prevent mixed Ubuntu compiler snapshots from blocking cache seeds - #1371
Merged
Merged
Conversation
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.
Summary
Refs #1286. Restrict Ubuntu compiler restore fallbacks to the same OS, architecture, Rust mode and build configuration. Remove opposite-mode and broader cross-configuration prefixes; keep exact keys and older compatible snapshots.
Measured full run 39082733551:
This addresses the observed mixed-store seeding blocker. A missing compatible seed starts cold so a mode-specific snapshot can fit the existing guard. Both modes' long-term retention in the pooled nightly allowance remains unresolved; this does not promise persistence or a universal runtime gain. The full parent run was still active when this PR was prepared.
Validation
fc935c3f1:uv run --no-project -m unittest ci.test_ubuntu_cache_preserve— rejects foreign-mode restores in both matrix modes; two failures on old prefixes.b6a2e7b2f:uv run --no-project -m unittest ci.test_ubuntu_cache_preserve ci.test_zccache ci.test_rust_cache_policy— 13 tests pass.git diff --checkpasses. No new workflow or C-test/public-header change. Existing obs-websocket dirt is excluded.Live cold seeding and later compatible warm consumption after this change remain to verify; no duplicate full workflow has been dispatched for this PR. Required checks, C/C++ compiler caching, Rust safeguards, and the post-consumption save cap remain.