Skip to content

infra: Disable soldr's zccache rustc wrapper in the local gate #134

Closed

Description

@zackees

soldr's embedded zccache replayed stale rustc output on 2026-10-10: soldr cargo clippy/test reported errors from an old version of rust/obs-util/src/cf_tokenizer.rs and, earlier, green results without compiling the current source. soldr clean, soldr daemon stop, soldr broker remove, a fresh CARGO_TARGET_DIR and deleting fingerprints did not help; SOLDR_RUSTC_WRAPPER=none did.

Why it matters: the local gate's attestation lets a PR skip the Linux Rust and Tier 2 CI jobs, so a cache-replayed false green can be attested.

Repro: edit a module file, append compile_error!("PROBE");, run soldr cargo clippy -p obs-util; if PROBE is not reported, the result is a replay.

Work:

Activity

  1. added
    bug
    infra
    on Oct 10, 2026
  2. zackees commented on Oct 13, 2026

    @zackees
    MemberAuthor

    Claiming: finish the stale-cache gate follow-up.

    1. Keep the existing wrapper bypass from PR ci: Bypass soldr's rustc wrapper in the local gate #161 and add an executable self-test that builds a scratch Rust crate, injects compile_error!, and verifies the rust-test lane fails on the current source.
    2. Link the existing upstream zccache report, run the local gate, and open one PR targeting master today.
    3. Close this issue only when the test and upstream report are both verified.
  3. added
    claimed
    on Oct 13, 2026
  4. zackees commented on Oct 13, 2026

    @zackees
    MemberAuthor

    Fixed by PR #161 (wrapper bypass and RED environment test) and PR #435 (scratch-crate source probe), merged as e688393. The upstream cache bug remains tracked at forge-ci/zccache#1943; no work remains in this repository for the gate bypass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugclaimedinfra

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions