Skip to content

ci: reproduce stale Rust cache hits and preserve gate safeguard - #1290

Merged
zackees merged 1 commit into
masterfrom
fix/1286-cache-source-probe
Oct 17, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/1286-cache-source-probe

Conversation

@zackees

@zackees zackees commented Oct 17, 2026

Copy link
Copy Markdown
Member

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.

@zackees
zackees added this pull request to the merge queue Oct 17, 2026
Merged via the queue into master with commit 998a567 Oct 17, 2026
29 checks passed
@zackees
zackees deleted the fix/1286-cache-source-probe branch October 26, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant