Skip to content

pr_review.py wait Exits 0 on an Attested Fix Push Before Its Checks Register #2750

Closed

Description

@ptr727

What happened

On #2748, after a fix push to a pull request into develop that Copilot had already reviewed, the local pass was attested and pr_review.py wait ran on the new head. It returned in 2 seconds with exit 0 and coverage=local merge=BLOCKED checks=5/5. The full suite of 13 checks had not yet registered on the new head. A later status poll read merge=CLEAN checks=13/13 several minutes afterwards.

Why it matters

A caller keys on wait's exit code, and exit 0 there reads as "the loop closed". Its digest still said merge=BLOCKED, so nothing merged on it. But a worker that trusted the exit code alone would move on while CI had barely started on the head.

Done looks like

An attested head's check poll does not end while the rollup holds fewer checks than the head will register. Or wait exits with a code that says the checks are still arriving, rather than 0, while the merge state reads BLOCKED on checks that have only just registered.

🤖 Generated with Claude Code

Activity

  1. added
    bug
    on Oct 10, 2026
  2. added a commit that references this issue on Oct 11, 2026
    9b02661
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions