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
Agents are not waiting for coderabbit reviews to complete and are prematurely claiming ready for review #1097
It has happened several times that an agent claims the pr is ready for my review, when i go and look there are open unresolved coderabbit items.
I suspect the the pr review script is not making a distinction between a coderabbit review that has either not started or not completed, and it is a point of eval vs. use issue.
Verified against the current tree on develop: the machinery this issue asks for is built and is the documented standard call.
scripts/pr_review.py today implements each half of the ask:
Waiting for the review to actually complete. The wait subcommand backs off in-process, and reviewed_head / head_reviews distinguish "reviewed this head SHA" from "reviewed an earlier one", which is the premature-ready case this issue names.
Not misreading an unavailable reviewer as a clean run. Quota-refusal detection and the CodeRabbit rate-limit marker are handled explicitly, with dedicated exit codes 46 and 47 for quota exhaustion.
Coverage.coverage_of / head_coverage / table_against_diff check whether a round actually read every changed file, rather than trusting that a review landed at all.
AGENTS.md now names pr_review.py wait as the call to make before claiming a PR ready, and states that the number closing a loop is on_head=0 rather than suppressed=0.
Closing as resolved. Two narrower descendants of this behavior remain tracked separately and are unaffected by this close: #1060 (check budget/quota status before reporting a reviewer bot as broken) and #1071 (a GitHub Actions billing-failure notice can be misread as UNRECOGNIZED_REVIEWER_OUTPUT).
Activity
ptr727 commentedon Sep 3, 2026
Verified against the current tree on develop: the machinery this issue asks for is built and is the documented standard call.
scripts/pr_review.pytoday implements each half of the ask:waitsubcommand backs off in-process, andreviewed_head/head_reviewsdistinguish "reviewed this head SHA" from "reviewed an earlier one", which is the premature-ready case this issue names.coverage_of/head_coverage/table_against_diffcheck whether a round actually read every changed file, rather than trusting that a review landed at all.AGENTS.mdnow namespr_review.py waitas the call to make before claiming a PR ready, and states that the number closing a loop ison_head=0rather thansuppressed=0.Closing as resolved. Two narrower descendants of this behavior remain tracked separately and are unaffected by this close: #1060 (check budget/quota status before reporting a reviewer bot as broken) and #1071 (a GitHub Actions billing-failure notice can be misread as UNRECOGNIZED_REVIEWER_OUTPUT).
Promote Develop to Main: Settle Section 5 and the CRLF Chain (#1263)