Repository navigation
ci: Skip lanes whose inputs already passed; route every merge through the queue (#806) - #807
Merged
Merged
Conversation
ci/lane_proof.py keys each local-gate lane by its inputs (the exclude/keep sets in local-gate.toml, checked with strace and read from the base commit) and keeps proofs as Actions artifacts. A PR or merge-queue run skips rust-test, cross or tier2-linux when a trusted run (same-repo PR or merge queue, within 72 h) already passed the same key, so a queue rebuild after an unrelated merge no longer reruns them. Proof surfaces, pushes, full runs and lookup errors fall back to running everything. coordination.md §8 records the merge-queue decision: no bypass, never --admin, with the data behind it. Fixes #806
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 15, 2026
This was referenced Oct 15, 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.
Fixes #806
Refs #699
Why
Over a day of queue data: 57 of 58 queue runs were green, so queued PRs already pass on the first try. The delay came from 11 merges that bypassed the queue. Each one rebuilt every queued group from scratch, because the tree-bound attestation can't cover a queue commit. The full data and the merge-queue vs. rebase-and-merge decision are in #806 and in
coordination.md§8.What
ci/lane_proof.py). A newLane Proofs 🧾job runs on PRs and in the merge queue. Forrust-test,crossandtier2-linuxit computes a key over the lane's inputs, then skips the lane when a trusted run already passed that key.local-gate.tomlexclude/keep sets, read from the base commit.pr-pull.yamlruns on same-repo branches, and merge-queue runs, within 72 h.ci-fulllabel, or lookup errors.local-gate.toml). These also make the local lane cache hit more often.rust-test/crosskeeprust/,dylints/,libobs/,deps/,plugins/obs-nvenc/and the Cargo/toolchain files. The strace audit of therust-testlane found no excluded file read (ci/local_gate.pyis always an input anyway).tier2-linuxexcludes only paths the Tier 2 build never opened, per strace inside the validate image: docs, packaging, the d3d11/metal/winrt backends,tools/,ci/,.github/.setup-stepsandlane-proofsinverify-exempt, soci-lint local-gate lintreports only the 3 violations already on master. Every caller ofbuild-project.yamlgrantsactions: read.ci-tooling.mdcovers lane proofs;coordination.md§8 and the worker skill say every merge goes through the queue and never--admin.Expected effect
Replaying the last 200 master commits, the Rust lanes' inputs were unchanged 63% of the time and Tier 2's 18%. Those runs reuse instead of rerunning.
RED → GREEN
ci/test_lane_proof.pyfails at import../lintis ok.After merge
I'll remove the administrator bypass from the ruleset. This PR's own run publishes the first proofs; the next queue rebuild should show
Lane Proofs 🧾hits.