You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keep Waiting on Checks After an Answered Uncounted-Verdict Headline in pr_review.py #3246
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:
A promotion pull request's round opens on ### Needs a closer look with no thread and no counted finding.
The driver answers the headline with pr_review.py comment.
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.
Activity
Name What Watches the Checks When wait Returns 50 at Once (#3262)