Repository navigation
ci: retain Rust cache correctness safeguard across native consumers - #1368
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. Extend the existing Rust stale-source safeguard beyond Fast Gate to all native Rust consumers in the existing build and release workflows.
Pinned soldr 0.9.35 defaults to
ManagedZccachewhenSOLDR_RUSTC_WRAPPERis absent (crates/soldr-cli/src/zccache.rs,rustc_wrapper_mode_from_env_var). ItsDisabledplan removes the managed Rust wrapper. The previously published source probe reproduces stale output with this pin, and forge-ci/zccache#1943 remains open. Onlyci/local_gate.pypreviously set the safeguard, leaving native Rust tests and release consumers exposed.Both existing workflows now set
SOLDR_RUSTC_WRAPPER: noneat workflow scope, covering setup/cook, native matrix jobs, and the Linux job container. Standalone C/C++ caches, cook/target archives, remote save policy, required checks and test assertions are preserved. This does not solve the distinct restored-target fingerprint hazard or rework cache publication. No new workflow is added.Validation
81f232917:uv run --no-project -m unittest ci.test_rust_cache_policyfailed for both workflows' missing shared safeguard.eb05818d0:uv run --no-project -m unittest ci.test_rust_cache_policy ci.test_cook_profiles— six tests pass.git diff --checkpasses.Configuration and documentation change: Rust/C ABI and protocol test tiers do not apply. The preexisting dirty obs-websocket submodule is excluded from the commits.