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
Stop pr_review.py wait --min-rounds Reading as a Count to Reach #2780
enhancementNew feature or requestpre-existingReview finding classed pre-existing per local-strict-review Disposing of FindingsscriptA defect in hub tooling
pr_review.py wait --min-rounds N waits for a round past the Nth, so N is the rounds= count a status read before a re-request. The flag's name reads as "at least N rounds", and a caller reading it that way passes one above the count it saw. The wait then holds out for the round after the one the re-request was for and runs its whole --timeout.
The work answering #2741 documents the counting and names the baseline in the timeout's status=PENDING line. That makes the mistake visible after the timeout, and it does not prevent it.
Constructed example
A pull request reads rounds=3, all three on the head. The caller runs wait --request --min-rounds 4. The fourth round lands mid-wait at position 3, below the baseline, so the wait polls on to its timeout.
Options
Have wait --request take the baseline from its own read when it issues the request, since it reads the reviewer's round count before requesting anyway. A caller then passes no count at all on that path.
Rename the flag to say what it holds, for example --after-rounds N, keeping --min-rounds as a deprecated alias.
Leave it as documented.
Done looks like
The chosen option is applied, with a test of the constructed example above.
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.
enhancementNew feature or requestpre-existingReview finding classed pre-existing per local-strict-review Disposing of FindingsscriptA defect in hub tooling
Activity
Say What pr_review.py wait --min-rounds Counts and Name It at the Tim…
ptr727 commentedon Oct 23, 2026
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.