Watch
0
0
Fork
You've already forked hyperhive
0

swarm-controller: document every try-out status and row shape in the OpenAPI

The routes' annotations now list every 400 reason (including the JSON
shape rejections), the 503 causes, the 31-minute running window, the
404 after a controller restart, and that an errored row reads
not-applicable with certainty 0 and an empty reason, so the page keys
off error, and that overall can be approve beside errored rows.
This commit is contained in:
atlas 2026-10-12 04:17:18 +02:00 • committed by mara
commit ed15105e6f
2 changed files with 25 additions and 12 deletions

View file

@ -109,7 +109,10 @@ pub struct Row {
/// polarity. `false` for every row that is not counted.
pub passed: bool,
pub reason: String,
/// Why this classification has no answer. Such a row is never counted.
/// Why this classification has no answer: a runtime error, a timeout, or
/// an answer that did not validate. Such a row reads `not-applicable`,
/// certainty 0 and an empty reason, and is never counted; key off this
/// field, not off the verdict.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub error: Option<String>,
}