Expand description
A structured view of the run report, for the web UI.
crate::report::run renders a run as ANSI text, and that stays the one
text implementation (the TUI and magi show read it). This module is the
second reader of the same RunState: it decides which sections exist
and in what order the way report::run does, and leaves every judgement
to the accessors the text report already uses (e2e_status,
gate_status, Severity::blocks, ReviewRound::incomplete,
final_votes, handed_off_with_open_findings). Nothing here re-derives a
verdict; when a section is added to the text report, add it here too.
The one rule a reader of this file must keep: a tally below quorum is
never decided. Tally::decided is met_quorum, and the winner it names
is provisional otherwise, so a stalled run cannot render as a settled one.
Structs§
- Base
Sync View - The base-sync state.
- Candidate
Row - One implementation.
- Command
View - A shell command’s outcome.
- E2eView
- The e2e leg of a round.
- Finding
View - One finding.
- FixView
- What the fixer reported.
- Followup
Row - A filed follow-up.
- Head
- Fields every section shares.
- Header
- The top block.
- JobGroup
- Jobs of one seat.
- JobRow
- One reported command.
- Judge
Row - One judge’s ranking.
- Merge
View - What happened to the branch.
- Operator
Finding Row - One operator-fix finding.
- Operator
FixView - An operator-requested fix.
- Release
Bump View - The release bump.
- Reviewer
Row - A reviewer’s own line.
- Revote
Row - A revote.
- Round
View - One review round.
- RunReport
View - The whole report.
- Tally
View - The count.
- Verdict
View - A verdict vote.
- VoteRow
- One judge’s final vote.
Enums§
Constants§
- SCHEMA
- Bumped when a field changes meaning; the client falls back to the raw text for a schema it does not know rather than render a guess.
Functions§
- build
- Build the view.
liveisRunState::liveness, exactly what the text route passes toreport::active_seats.