Repository navigation
fix(github): Mark agreement that waits on the reviewer as addressed, not declined - #4437
Merged
Merged
Conversation
…not declined The status param of github_updatePullRequestFeedback put a decision left to the author under declined (-1). An agreement that waits on the reviewer's confirmation of the exact text matched that, so Junior put -1 on feedback it agreed with, as on #4428. Reviewers read -1 as disagreement. Declined now covers only push-back and deferral, as design/github.md says. An agreement that waits on the reviewer to confirm or choose is addressed. Both marks still count for the review-again ask.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
dcramer
approved these changes
Nov 26, 2026
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.
On #4428, Junior agreed with two inline review comments on
design/lead.md. It replied with the replacement text and asked the reviewer to confirm, because adesign/line changes only after the person confirms its exact text. Then it marked both commentsdeclined, which adds a -1 reaction. The reviewer read it as a rejection.Root cause
The
statusparam ofgithub_updatePullRequestFeedbackput "leave the decision to the author" underdeclined(-1), and it limitedaddressed(+1) to "you made the change or answered the question". An agreement that waits on the reviewer's confirmation fits only thedeclinedtext. #4305 added that clause.design/github.mdsays only that a comment Junior pushes back on or defers is declined.Fix
statusparam now puts an agreement that waits on the reviewer to confirm or choose underaddressed.declinedcovers only push-back and deferral to later work, and the text says that reviewers read -1 as disagreement.pull-request-reviews.eval.ts: the requester asks for adesign/change that needs their confirmation of the exact text, and the mark must beaddressed, neverdeclined. The existing push-back case still expectsdeclined.The review-again ask does not change. It counts both +1 and -1 as marked (
pull-request-review-again.ts), so a comment that waits on the reviewer still puts the pull request back in their Inbox.via @dcramer.
--
View Session [Sentry]