Skip to content

ci: attribute why each failed first-main attempt escaped pre-merge proof #2937

Closed

Description

@schlessera

Part of #2934 (Phase A, task 1).

Context

The 2026-10-25 evidence supplement classifies the failure mechanisms behind 49 failed first automatic main-push attempts (2026-10-21T17:19:18Z through 2026-10-25T08:35:58Z), but explicitly leaves open why each one escaped pre-merge proof. Three escape paths are plausible and not yet separated:

  • Bypassed confirmation. No reservation acquisition is recorded on refs/heads/brain-integration-reservation after 2026-10-23 12:43 UTC+2, and the cohort's median ready → merge is 3 seconds. The mandatory path is bun scripts/integrate.ts confirm (docs/decisions/ci-utility.md:1237-1246; .agents/skills/work-issue/SKILL.md:272-279).
  • Skipped or timed-out local checks. Long system-wide suites run concurrently on one host time out, and agents skip them to proceed.
  • Proof-system changes. About a quarter of squashes since 2026-10-14 changed CI, test harness, sharding or timeouts. A failure first seen on an unrelated squash may have been introduced by an earlier harness change.
  • Selection misses. The failing test was not selected for the PR that introduced the defect (docs/decisions/ci-utility.md:83-100).

Scope

For every one of the 49 attempts in the supplement's per-run ledger, record:

  1. whether the squash's PR had an exact-head hosted confirmation (proof, not draft gates) before merging, from its Actions runs;
  2. whether a reservation was acquired for it, from the reservation ref history;
  3. whether the failing test file was in the PR's selected inventory;
  4. the earliest squash on main at which the failing family first appears, and whether that squash or one between it and the attributed PR changed the proof system (workflows, scripts/test.ts, scripts/unit-*, scripts/ci-*, bunfig.toml, test timeouts or shard layout);
  5. an escape class: bypassed-confirmation, selection-miss, harness-change, confirmed-then-flaked, inherited-red, or unknown.

Publish the per-run table as a comment on #2934 and summarize counts per class. For every attributable selection-miss or harness-change family without an open issue, file one.

Out of scope

Acceptance criteria

  • Every one of the 49 attempts has all five fields, with unknown where evidence is missing and the missing evidence named.
  • Each bypassed-confirmation classification cites the absent proof run and the absent reservation record.
  • Each harness-change classification cites the introducing squash SHA.
  • Every selection-miss and harness-change family has an open or closed issue reference.
  • The comment states the analysis window, the commands or scripts used and their source SHA.

Verification

A reviewer can rerun the classification for three randomly chosen attempts from the published commands and reach the same five fields.

Contract impact

None.

Activity

  1. added
    type: chore
    area: ci
    agent-ready
    on Oct 25, 2026
  2. added this to the 0.45.0 milestone on Oct 25, 2026
  3. added
    priority: p2
    on Oct 25, 2026
  4. self-assigned this
    on Nov 2, 2026
  5. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    Claimed as part of working epic #2934 end to end (claim token wi-20261102-fd2d2f21). Order chosen for earliest queue-velocity benefit: #2938+#2939 rulings first (they unlock hosted draft feedback), then the red-main/merge-path chain (#2942, #2940, #2944); #2943, #2941 and #2937 run in parallel since they touch disjoint code. Analysis-only: the result is a comment on #2934 plus filed issues, no branch.

  6. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    Outcome

    The per-run table is published on #2934: #2934 (comment)

    Escape classes across the 49 attempts:

    Class Attempts
    inherited-red 29
    bypassed-confirmation 15
    unknown 4
    harness-change 1
    selection-miss 0
    confirmed-then-flaked 0

    What the evidence shows:

    • No exact-head confirmation (49/49). Every PR's single non-draft confirmation run was refused by candidate-proof.ts, 47 of them as a stale candidate. The run opened a median of 1 s before the merge.
    • No reservation (0/49). No acquisition on the reservation ref names any of these PRs.
    • Selection was not the gap. In 45 of 49 attempts, every failing family was in the PR's planned inventory.

    Acceptance criteria:

    How it was run. The published script was run end to end (fetch, scan, table) over cached API responses, gathered with the same REST paths it requests. bun escape-audit.ts row <pr> reproduces any single attempt.

    Not covered here. The epic body's later reviewed failures (2026-10-26 through 2026-11-02) are not classified in this table. They are filed as #3280 and attached to #2934.

    No proof, reservation or merge policy was changed.

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

Metadata

Metadata

Assignees

Labels

agent-readyarea: cipriority: p2type: chore

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions