Repository navigation
ci: Bypass soldr's rustc wrapper in the local gate - #161
Merged
Merged
Conversation
soldr's zccache replayed stale rustc output (old diagnostics, and green results without compiling the current source). Every cargo command the gate attests must therefore run with SOLDR_RUSTC_WRAPPER=none. The lint and rust-test lanes currently pass the caller's environment through. Refs #134 Co-Authored-By: Claude Opus 5.5 <[email protected]>
soldr's zccache replayed stale rustc output: clippy reported errors from an old version of a module, and earlier lanes went green without compiling the current source. Since an attested gate lets CI skip the Linux Rust and Tier 2 jobs, a replayed green is dangerous. Run fmt, clippy and test with SOLDR_RUSTC_WRAPPER=none (OBS_GATE_ZCCACHE=1 keeps the cache for local iteration), and run the gate's own unit tests in the lint lane. Refs #134 Co-Authored-By: Claude Opus 5.5 <[email protected]> Local-Gate: v1 tree=bc2644a99a4edea4e2522e39826ab6e72e662383 secs=236 lanes=lint:run,rust-test:run,tier2-linux:run Ci-Attestation: {"at":1791674857,"gate":"rust/all/fmt","host":"linux-x86_64","key":"da979b085cb8c8d2fe3df0d074e953f318d0b8de55fc87ee964264a0f7bf2b04","lane":"lint","parents":["eeb8cfbafeaaab067d7190a26045646244a7e9ef"],"secs":86,"stamp":"a8d6ab5596d48fdf04b81a4457ac9645","tree":"bc2644a99a4edea4e2522e39826ab6e72e662383","v":1,"via":"run"} Ci-Attestation: {"at":1791674857,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"da979b085cb8c8d2fe3df0d074e953f318d0b8de55fc87ee964264a0f7bf2b04","lane":"lint","parents":["eeb8cfbafeaaab067d7190a26045646244a7e9ef"],"secs":86,"stamp":"52bc31b05238f645df7f3d46a2e145de","tree":"bc2644a99a4edea4e2522e39826ab6e72e662383","v":1,"via":"run"} Ci-Attestation: {"at":1791674857,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"2a862956823f74a7293df6fa3b3b030a03abee7139b2750aa8a14074b5708764","lane":"rust-test","parents":["eeb8cfbafeaaab067d7190a26045646244a7e9ef"],"secs":72,"stamp":"3db2e048675f076485fda6042ad75121","tree":"bc2644a99a4edea4e2522e39826ab6e72e662383","v":1,"via":"run"} Ci-Attestation: {"at":1791674857,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"6dc1ee40ba3cd7f8973629a7923bb376c3ab41997cabc4558a15a4949f274c97","lane":"tier2-linux","parents":["eeb8cfbafeaaab067d7190a26045646244a7e9ef"],"secs":78,"stamp":"eae39f3d1ac6e9b8eb3f08ef91058ca8","tree":"bc2644a99a4edea4e2522e39826ab6e72e662383","v":1,"via":"run"}
This was referenced Oct 11, 2026
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.
Refs #134 (the upstream soldr/zccache report is still open).
soldr's zccache replayed stale rustc output this week:
soldr cargo clippyreported errors from an old version ofcf_tokenizer.rs, and earlier lanes went green without compiling the current source. An attested gate lets CI skip the Linux Rust and Tier 2 jobs, so a replayed green can reach master.RED:
ci: RED test that the gate bypasses soldr's rustc wrapperNew
ci/test_local_gate.pyasserts that everysoldr cargocommand in the lint and rust-test lanes runs withSOLDR_RUSTC_WRAPPER=none. On master: 3 failures (fmt, clippy, test pass the caller's environment).GREEN:
ci: Run the gate's cargo commands without soldr's rustc wrappersoldr_cargo()helper setsSOLDR_RUSTC_WRAPPER=none.OBS_GATE_ZCCACHE=1keeps the cache for local iteration.Evidence
python3 -m unittest ci/test_local_gate.py: 2 tests OK.compile_error!("GATE-PROBE");tocrc32.rsmakesci/local_gate.py --lane rust-testfail witherror: GATE-PROBE. Before this change, soldr could replay the previous result instead of compiling.Trade-off: CI's
rust-tests-linuxjob runs these lanes, so it loses zccache hits and may run slower, until the cache bug is fixed upstream.