Skip to content

ci: Fast multi-agent merges: lane proofs in the merge queue, no queue bypass #806

Closed

Description

@zackees

Follow-up to #699 and #692.

Findings (one day of queue data)

Decision: merge queue, not rebase-and-merge per PR

Requiring branches to be up to date would make every agent rebase and rerun CI after every merge, and that gets slower as agents are added. The queue builds up to 5 groups in parallel and already passes first time.

Change

  1. No bypass: remove the administrator bypass from the ruleset, so every merge goes through the queue.
  2. Lane proofs (ci/lane_proof.py): a CI lane whose exact inputs already passed in a trusted run is skipped.
    • The inputs are the local-gate.toml exclude/keep sets, checked with strace and read from the base commit.
    • The proofs live in this repo's Actions artifacts. Trusted runs are same-repo PR runs and merge-queue runs.
    • Over 200 master commits, the Rust lanes' inputs were unchanged 63% of the time and Tier 2's 18%.

Activity

  1. zackees commented on Oct 15, 2026

    @zackees
    MemberAuthor

    Claiming.

  2. zackees commented on Oct 15, 2026

    @zackees
    MemberAuthor

    Landed in #807, and the ruleset bypass has been removed (bypass_actors: []), so every merge now goes through the queue.

    First reuse on real runs: merge-queue run 38691165583 (#800) skipped rust-test and cross, using proofs that run 38689630794 (#808) published for the same input keys. Tier 2's inputs differed, so that lane ran.

    Follow-up: remaining bounces come from infrastructure flakes, which the queue treats as failed checks.

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions