Repository navigation
ci: reproduce stale Rust cache hits and preserve gate safeguard - #1290
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.
Pinned soldr 0.9.35 still returns a stale cache HIT after a nested Rust source changes with its size/mtime preserved. The cached command exited 0 without the injected error; bypassing the wrapper exited 101 with that error. Keep the existing gate safeguard.
Add a manual reproduction that preserves its scratch crate/logs/result JSON and verifies the executable version, record the evidence in the repository, and strengthen the gate's existing source probe to exercise this exact nested-module/stamp case. This is a correctness experiment and regression enhancement, not a cache re-enable. The upstream blocker remains forge-ci/zccache#1943; no external repository is changed.
Validation: explicit 0.9.35 reproduction detected false success; real gate probe passes (2 tests), with its injected error correctly rejected under the bypass. Ruff and diff checks pass. The manual experiment is intentionally excluded from required CI because the pinned cache remains unsafe.
Refs #1286.