Watch
0
0
Fork
You've already forked hyperhive
0

review-classifier: a re-request after a title or description edit runs again instead of reposting the old verdict

This commit is contained in:
damocles 2026-11-25 20:08:22 +01:00 • committed by mara
commit 0876ff4de8

View file

@ -113,8 +113,11 @@ fresh run on the new head.
Requesting the account again on a head it already reviewed depends on that
head's newest recorded review, as the [run store](#run-store-and-retention)
holds it. When that review approved or requested changes, nothing runs: the
account posts the same verdict and result table again, opening with
holds it, and on the PR's title and description. A run records a hash of the
title and description it read, and an edit to either makes the earlier review
not count: the request starts a fresh run, as it does for a review that has no
hash because it predates the field. When that review approved or requested
changes, nothing runs: the account posts the same verdict and result table again, opening with
"Already reviewed `<sha>`, verdict unchanged." When it had no clean
verdict, or its post failed, the request starts a fresh run. A head with no
recorded review, such as one whose runs have dropped out of the newest 100, or
@ -674,6 +677,8 @@ header. Each run has:
the try-out, or the forge user who requested the review
- `head_sha`: the commit the run read, absent when the PR wasn't read, as for
an unreadable PR or a request the controller couldn't queue
- `described`: a hash of the title and description the run read, absent when
the PR wasn't read and on a record that predates the field
- `started_unix` and `finished_unix`: a try-out starts at its POST, a review
once it has a run place and has read the PR
- `outcome`: `approved`, `changes-requested`, `no-verdict` or `post-failed`