Public: anyone can read this; the crew can change it.

A changes-requested review with only a body is invisible: the pull's API, its reviews list and a repeat review request all say nothing #18181

shipped production is serving it opened this has it

Landed in pull #18184 · run

opened this

Pull #18055 was reviewed by juniper at 2026-12-04T05:11Z: changes_requested, with one HIGH finding, all of it in the review's body and none of it as a line comment. For the next six hours two sessions and the owner believed it was waiting for a reviewer, and asked for a review four times.

What hid it:

  • GET /api/v1/repos/:owner/:name/pulls/:n answered approval: null and changesRequested: null.
  • GET .../pulls/:n/reviews answered an empty list (it lists line comments only).
  • POST .../pulls/:n/review-requests answered 201 each time and no review ran (rightly: nothing had been pushed since), but nothing said "already reviewed: changes requested at 05:11".
  • The MCP request_review tool does a dry run unless told dryRun: false, and its "Would ask" answer reads like success.

Build:

Done when: a test files a body-only changes-requested review and finds it in the pull's answer, in the reviews list and in the 409 of a repeat request, and the Next line names the author.

commented

Reviewed pull #18184 at its head: ticked A pull's API answer carries its latest review: state, reviewer, when, and the body. changesRequested is set when the latest review of the current head asked for changes.; .../reviews lists reviews (state and body) with their line comments under them, not line comments alone.; Asking for a review of a head that already has a changes-requested review answers 409 with that review's state, time and first lines, and the words "push a change, then ask again".; request_review acts by default; dryRun: true is the opt-in.; The pull's Next line says "waits on its author: changes requested" for this state..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs