Repository navigation
fix(github): Wait for review-again after a comment-only review - #4394
Closed
sentry-junior[bot] wants to merge 1 commit into
Closed
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
request_review asked the requester again after a comment-only review, which skipped the review-again flow that owns that re-ask. It now asks only a person with no review yet, or whose latest review was dismissed. An approval stands when a comment follows it. Co-Authored-By: BYK <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 71e129a. Configure here.
BYK
approved these changes
Nov 25, 2026
Contributor
Author
|
Folded into #4317, together with review-again for comment-only reviews. |
BYK
added a commit
that referenced
this pull request
Nov 26, 2026
… request (#4398) A comment-only review from the requester, such as a reply in a review thread, used to leave the review ask open. The PR kept asking for a review in the Inbox, and a clean PR could show "Ready to merge" while Junior still had to answer. Now Junior handles that review like a change request: - The review ask closes, and the PR does not show as ready to merge while Junior works on it (`requesterFeedback` in `webhooks/pull-request-next-action.ts`). - When Junior has marked every comment and the required checks pass, the review-again flow asks the requester again. The Inbox item says "Every comment on your review is handled." The feedback tool checks whether the reviewer is the requester. Other reviewers keep the old rule: only their latest change request counts. - **Approval stands.** A comment after the requester approves, with no new ask since, keeps the approval. The PR stays "Ready to merge", and an approved held draft keeps `mark_ready`. A change request always counts. - `askStaysOpen` is removed. `request_review` (`requestRequesterReview` in `tools/update-pull-request.ts`) now asks only a requester who has not reviewed yet, or whose latest review was dismissed. The reviewer lookup reads comment-only reviews too. After a comment-only review, the review-again flow decides when to ask again. This supersedes #4394. `design/github.md` gets two lines that BYK confirmed: - The comment-only line now says Junior handles a comment-only review like a change request: the ask closes while Junior works, and Junior asks again once it answers and the checks pass. - The limbo line now starts: "A ready Junior PR always has an Inbox ask (review or merge) or a pending GitHub review request for its requester." This continues #4317, which merged before this change was pushed. <!-- junior-request-attribution:start --> via @BYK. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:agent%3A6eedb91e2d3dfa1fd070e65575e7799d --> -- [View Session](https://junior-prod.sentry.dev/conversations/agent%3A6eedb91e2d3dfa1fd070e65575e7799d) [[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A6eedb91e2d3dfa1fd070e65575e7799d/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: BYK <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Follow-up to #4306.
github_updatePullRequestwithrequest_review: trueasked the requester again after a comment-only review. That re-ask belongs to the review-again flow, the same as after a change request.requestRequesterReviewnow reads comment-only reviews too and asks only a person with no review yet, or whose latest review was dismissed. A change request, a comment, or an approval means no new request. An approval stands when a comment follows it: no request, and an approved held draft keeps itsmark_readyInbox item. Therequest_reviewparam, output text, and JSDoc say so.via @BYK.
--
View Session [Sentry]