Repository navigation
ci: soldr 0.9.42 verdict ledger; native Dylint beside Clippy (#2293) - #2309
Merged
Merged
Conversation
…side Clippy (#2293) - soldr 0.9.42 / setup-soldr v0.9.87: the verdict ledger (soldr#3894) replays a clippy, fmt, dylint or doctest pass whose exact inputs already passed; setup-soldr carries it between CI runs (verdicts: auto). - The gate runs the Dylints through soldr dylint with soldr's managed driver (it deferred to the cargo-dylint on PATH), in target-dylint/ so soldr's no-cache preflight does not refuse it while Clippy holds a .cargo-lock, and beside the stable Clippy steps. - The source probe sets SOLDR_VERDICTS=off: its scratch crate in target/ keyed on none of its files (forge-ci/soldr#3913).
zackees
enabled auto-merge
October 25, 2026 01:51
Closed
12 tasks done
chriscoveries
pushed a commit
to chriscoveries/obsrust-fork
that referenced
this pull request
Oct 25, 2026
…s-rust#2325) * test: cross-lane Dylint shares target/ with Clippy * ci: cross-lane Dylint reuses target/ instead of a cold target-dylint/
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.
Fixes #2293. Part of #2294.
Changes
cmake/common/soldr.cmake, with the SHA256s fromsoldr-v0.9.42-SHA256SUMS.txt). setup-soldr v0.9.86 → v0.9.87 (6ad4abd, the commitv0points to; tagged for this PR). All 7 callsites keep their explicitversion:.clippy,fmt --check,dylintand doctest runs whose exact inputs already passed are replayed. setup-soldr's defaultverdicts: autocarries it between CI runs: master publishes, PRs restore.soldr dylintwith soldr's managed driver (SOLDR_FORCE_MANAGED_CARGO_SUBCOMMANDS=1). Before, it deferred to whatevercargo-dylintwas on PATH. It runs in its owntarget-dylint/beside the stable Clippy chain. With a sharedtarget/, soldr's no-cache preflight refused to start while Clippy held a.cargo-lock. Its output prints when it finishes. The--lib --binsscope is unchanged.SOLDR_VERDICTS=off. Its scratch crate intarget/(an ignored directory) keyed on none of its files and replayed a stale doctest pass. Fixed upstream in fix(verdict): a workspace ignored by git disables the skip forge-ci/soldr#3913. Off is right for the probe either way, since it proves that source gets compiled.docs/ci-tooling.mddescribes the ledger.RED → GREEN
ci/test_gate_dylint.py. The gate must callsoldr dylint, notsoldr cargo dylint, with the managed driver, its own target root and the wrapper off. It had 1 failure and 1 error.test_soldr_pin.pyandtest_local_gate_probe.pypass../lintpasses in 37.0 s; the same lane took 117.9 s earlier today on master's gate.Measurements (local, shared 16-thread host, soldr 0.9.41)
Unchanged tree, per step: fmt and all four Clippy runs are replayed (0 s), and Dylint is replayed after about 1.5 s of driver resolution. The rest of the lane's 21 s is not soldr: the source probe (10 s, verdicts off on purpose), clang-format (7 s) and the ifdef ratchet (2 s).
After a one-line edit in
obs-util, which every crate depends on, the lane took 46–56 s on both gates, and one master run hit a 190 s load spike. This shared host is too noisy to measure the overlap gain locally. In CI the lint job runs withbuild-cache: false, so every Clippy and Dylint compile is cold there, and taking the Dylint nightly build off the critical path saves its full duration.Wrapper policy is unchanged:
SOLDR_RUSTC_WRAPPER=nonestays while forge-ci/zccache#1943 is open.