Watch
0
0
Fork
You've already forked hyperhive
0

review classifier: queued review requests survive a restart and are never refused

This commit is contained in:
atlas 2026-10-21 22:21:24 +02:00
commit d6aa83146a
2 changed files with 1021 additions and 454 deletions

File diff suppressed because it is too large Load diff

View file

@ -60,12 +60,14 @@ pub(crate) enum RunOutcome {
Approved,
/// A review requested changes.
ChangesRequested,
/// A comment was posted: the rules did not load, the PR was unreadable,
/// the run failed, the classifier sent a different number of answers
/// than it was sent classifications, or any classification got none.
/// A comment was posted: the request could not be queued, the rules did
/// not load, the PR was unreadable, the run failed, the classifier sent a
/// different number of answers than it was sent classifications, or any
/// classification got none.
NoVerdict,
/// No run started, as every run and wait place was taken; a comment
/// saying so was posted.
/// saying so was posted. This build records none; it is here so that a
/// stored record of it still reads.
QueueFull,
/// The review could not be posted.
PostFailed,