Skip to content

fix(github): Mark agreement that waits on the reviewer as addressed, not declined - #4437

Merged
dcramer merged 1 commit into
mainfrom
fix/pr-feedback-agreement-not-declined
Nov 26, 2026
Merged

dcramer merged 1 commit into
mainfrom
fix/pr-feedback-agreement-not-declined

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

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 a design/ line changes only after the person confirms its exact text. Then it marked both comments declined, which adds a -1 reaction. The reviewer read it as a rejection.

Root cause

The status param of github_updatePullRequestFeedback put "leave the decision to the author" under declined (-1), and it limited addressed (+1) to "you made the change or answered the question". An agreement that waits on the reviewer's confirmation fits only the declined text. #4305 added that clause. design/github.md says only that a comment Junior pushes back on or defers is declined.

Fix

  • The status param now puts an agreement that waits on the reviewer to confirm or choose under addressed. declined covers only push-back and deferral to later work, and the text says that reviewers read -1 as disagreement.
  • New eval case in pull-request-reviews.eval.ts: the requester asks for a design/ change that needs their confirmation of the exact text, and the mark must be addressed, never declined. The existing push-back case still expects declined.

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]

…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.
@vercel

vercel Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 26, 2026 5:27am UTC

Request Review

@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 26, 2026
@dcramer
dcramer enabled auto-merge (squash) November 26, 2026 05:29
@dcramer
dcramer merged commit 073a6f7 into main Nov 26, 2026
58 of 59 checks passed
@dcramer
dcramer deleted the fix/pr-feedback-agreement-not-declined branch November 26, 2026 05:37

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 1031776f Deployed Nov 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant