pub struct ReviewSummary {Show 14 fields
pub outcome: ReviewOutcome,
pub reason: Option<String>,
pub round: u32,
pub rounds: u32,
pub reviewer: String,
pub fallback: Option<String>,
pub tried: Vec<TriedReviewer>,
pub refusals: Vec<Refusal>,
pub summary: Option<String>,
pub open_count: u32,
pub open: Vec<OpenFinding>,
pub journal: String,
pub journal_incomplete: bool,
pub journal_pending: bool,
}Expand description
How a reviewed job’s review ended.
Fields§
§outcome: ReviewOutcomeThe outcome; only ReviewOutcome::Approved means approved.
reason: Option<String>Why it ended so, such as round_limit or reviewer_timeout.
round: u32The round it ended in; 0 when no builder turn ran.
rounds: u32The call’s round limit.
reviewer: StringThe agent of the last reviewer attempt; empty when none ran.
fallback: Option<String>Why the reviewer is not the first in the order, such as
codex unavailable.
tried: Vec<TriedReviewer>Each reviewer agent tried in the job, with its latest result.
refusals: Vec<Refusal>What reviewers that declined said, so the user can be told.
summary: Option<String>The last verdict’s summary, as the reviewer wrote it, bounded.
open_count: u32Blocking findings still open.
open: Vec<OpenFinding>The first of them.
journal: StringThe review journal’s ID, such as rev-1759961234-3fa9c1.
journal_incomplete: boolA journal write failed after the outcome was decided, so the journal
lacks later steps. The outcome stands; a failure before it was
decided is the outcome stopped (journal_error) instead.
journal_pending: boolThe job had not stopped when this outcome was stated, so its journal
was still being written: the outcome is decided, and a
background.updated event follows once the job stops, saying whether
the journal ended complete.