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

A review that says it could not read the diff is refused, and the second time the pull waits for a person #15007

shipped production is serving it opened this has it

Landed in pull #15012 · run

opened this

Split from #14917 (part 3).

A review whose body says it could not read the diff ("I could not read the diff", "the head branch is not fetchable", "rests on the pull description") is not a verdict: the API answers 422 unread_diff, the run settles failed saying why, review sends the pull again, and after the second the pull waits for a person: "the reviewer could not read the diff, twice: its review was refused".

A first take is commit 56700d61d on branch mason/14917-the-reviewer-reads-a-sealed-pull-s-code (src/actions/review_unread.ts, src/crew/unread_review.ts, tests test/review-unread.test.ts and a case in test/review-from-green.test.ts). The gate noted refusedUnread is 0.88 like recheckedHead in src/checks/outside_diff.ts: share one implementation.

Done when: a review body saying the diff was unreadable leaves the pull unreviewed, and two such leave it waiting for a person.

Sign in to join this conversation.

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

Keyboard shortcuts

Docs