Skip to content

Keep Waiting on Checks After an Answered Uncounted-Verdict Headline in pr_review.py #3246

Closed

Description

@ptr727

The shape

On a pull request whose covering round opens on ### Needs a closer look and counts no finding, scripts/pr_review.py status exits 50 with VERDICT_NAMES_UNCOUNTED_FINDINGS. Its own text says the code still repeats on that head once the headline is answered with comment, since nothing reads an answer.

wait returns that same exit at once. So after the headline is answered, wait cannot be used to wait for the checks still pending on that head. It returns in about a second with the same code, and a driver has to watch the checks some other way.

Constructed sequence:

  1. A promotion pull request's round opens on ### Needs a closer look with no thread and no counted finding.
  2. The driver answers the headline with pr_review.py comment.
  3. Two checks are still pending, and pr_review.py wait exits 50 with waited=1s.

Expected

Either wait keeps polling the checks on a head whose only open reading is that headline, or it says that the checks are still pending and names what to watch them with, so the 1-second return does not read as a terminal answer.

Found while driving promotion #3245.

Activity

  1. added
    enhancement
    script
    on Oct 20, 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

    enhancementscript

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions