Let reviews be stopped, and fail stuck reviewers automatically

This commit is contained in:
Ian Gulliver
2026-10-17 07:24:08 -07:00
parent 00cd1ed958
commit 9b3f775dac
11 changed files with 397 additions and 220 deletions
+15
View File
@@ -694,6 +694,21 @@ paths:
"400": { $ref: "#/components/responses/Error" }
"404": { $ref: "#/components/responses/Error" }
/api/reviews/{reviewId}/stop:
parameters:
- { name: reviewId, in: path, required: true, schema: { type: string } }
post:
operationId: stopReview
description: Ends a running review's reviewer and records the review as failed. Refused unless the review is running.
responses:
"200":
description: The review.
content:
application/json:
schema: { $ref: "#/components/schemas/Review" }
"404": { $ref: "#/components/responses/Error" }
"409": { $ref: "#/components/responses/Error" }
/api/tasks/{taskId}/snapshots/{n}/fork:
parameters:
- { name: taskId, in: path, required: true, schema: { type: string } }