A verdict that says it never looked is refused (#14265)
Four reviews in a week said "I did not open the preview or the screenshots" and still gave a verdict; reviewers asked for the same thing each time. Now an approve or a request for changes whose body says so is refused: Rule "a verdict is given after opening the preview and its pictures": this review says it did not. Open the preview and read its pictures, then say what you saw.
- Where.
submitReview(src/actions/pulls.ts) callsconfessesUnseen(src/actions/review_unseen.ts) before anything is written. The API answers 422unseen_verdict, the MCPreviewtool and the pull page show the sentence, and the terminal shows it as the review's error. Nothing is recorded. - A comment is not a verdict. A plain comment may say it did not look; only approve and request-changes are refused.
- What it catches. Phrases only: a negated act then the preview, screenshots, screens, pictures or looks ("did not open", "didn't bother opening", "haven't looked at", "never opened", "without opening"), "skipped"/"ignored" the same things, "no preview was opened", "the screenshots were not opened", and "from the diff alone/only".
test/review-unseen.test.tspins these and the honest sentences that must pass ("users never see the screens change"). - Left out. It does not read the review or check that the preview was opened: a verdict that says nothing about it, or words it another way, passes. The rule is kept by the reviewer; this refuses only the confession.