Skip to content

fix(pr-pipeline): pr-verify never judges a head made green by a rerun-ci-status re-run #9485

Closed

Description

@kyle-sexton

Problem

A lanes App PR whose first green pr-require-checks run comes from a rerun-ci-status re-run is never judged by pr-verify, so it can never merge.

rerun-ci-status (pr-feedback-dispatch.yml) re-runs the ci-status job with GITHUB_TOKEN, so the upstream attempt's triggering actor is github-actions[bot]. pr-verify's trust gate (.github/actions/check-trusted-trigger/check-trusted-trigger.mjs) then refuses with untrusted-actor:

  • at attempt 2 it treats the re-run as the lost-run reconciler's and requires a reconcile-rerun-* record, which only maintenance-reconcile-lost-runs writes;
  • at attempt 3 or later every upstream actor must be listed, and github-actions[bot] is not.

Nothing else starts pr-verify for that head: pr-verify triggers only on workflow_run of pr-require-checks. The case occurs whenever attempt 1 is red (an API read flake, or ci-status reading before the review lanes finish). Merging the once-per-head re-run change does not fix it: its single re-run lands at attempt 2 and is refused by the record check.

Evidence: #9461, head 8db6867. Upstream run 39987298041 attempts 2 and 3 were started by github-actions[bot]; pr-verify runs 39996975086 and 39997129185 logged check-trusted-trigger: proceed=false reason=untrusted-actor, and babysit_verify_evidence.py evidence returned verify:missing. #9476 and #9479 are exposed the same way.

Options (owner decision: trust gate)

  1. rerun-ci-status uploads a record from its main-branch run naming the upstream run, attempt and head; the gate accepts a github-actions[bot] upstream attempt that has such a record, reusing the reconciler-record check generalized to any attempt and a named recorder workflow.
  2. Relax the gate for pr-verify so the upstream triggering actor need not be listed. Smallest diff, but a same-repo PR's workflows can also re-run jobs as github-actions[bot], so it widens trust.
  3. Stop re-running: have ci-status wait for the review lanes inside its time budget instead. Bounded by the owner's no-timeout-raise rule.

Done when

  • A lanes App PR whose ci-status goes green only on a rerun-ci-status re-run gets a pr-verify verdict at that head.
  • An upstream re-run by an unlisted actor with no trusted record is still refused.
  • A test fails before the fix for each.

Activity

  1. added
    needs-triage
    on Oct 23, 2026
  2. github-actions commented on Oct 23, 2026

    @github-actions
    Contributor

    Proposed work class: none

    Thanks for the report. Automated triage handed this issue to a maintainer.

    Unconfirmed model suggestion: work-class: structural
    Basis: automated intake triage; a maintainer confirms or changes it.

    Automated triage. A maintainer reviews it.

  3. added
    needs-human
    and removed
    needs-triage
    on Oct 23, 2026
  4. added
    needs-owner-decision
    on Oct 23, 2026
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

    needs-humanneeds-owner-decision

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions