Skip to content

ci: off-main qualification accepts a linked run whatever its conclusion #4171

Closed

Description

@schlessera

Context

#3271 (delivered in #4145) requires a proof-system PR to carry off-main qualification evidence before confirmation. checkQualification (scripts/proof-system-lane.ts:202-222) reads the run URLs in the PR's "Off-main qualification" section. It accepts the first one whose head SHA is the candidate head, or an ancestor with no proof-system change after it.

qualifies (scripts/proof-system-lane.ts:189-199) checks only the run's repository and head SHA. It never reads the run's status or conclusion, and QualificationRun (scripts/proof-system-lane.ts:184) has no field for either. So a linked run that failed, was cancelled or is still in progress qualifies the candidate just as a passing one does.

Seen 2026-11-17 while landing #4166: the section linked draft CI run 44058030415, which the worker described as "in progress; this is not a claim of completed hosted proof". The lane refused it only because a refresh merge had added a proof-system change after its head, not because of its state.

Acceptance criteria

  • A linked run qualifies only if it completed with conclusion success. Failed, cancelled, skipped, in-progress and queued runs are refused, and the refusal names the run and its state.
  • Tests cover each refused state and the passing case, and a mutation that drops the conclusion check fails a named assertion.
  • The decision record's off-main qualification text in docs/decisions/ci-utility.md says the linked run must have passed.

Out of scope

Deciding which workflows count as qualification runs, and the lane's main-run window.

Activity

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

    @schlessera
    OwnerAuthor

    Claimed for implementation. Claim token: claim-e2cd000f. Branch: fix/4171-qualification-success.

  5. schlessera commented on Nov 17, 2026

    @schlessera
    OwnerAuthor

    Merged in #4173 as b23eace25 through the integration lease (orchestrator merge queue for 0.45.0). Candidate confirmation passed on the exact head; the squash's own main run carries the post-merge heavy categories.

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: fix

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions