pub struct ReviewRound {
pub round: usize,
pub head: String,
pub reviews: Vec<ReviewRecord>,
pub e2e: Vec<CommandOutcome>,
pub verify_retried: bool,
pub fix: Option<FixRecord>,
pub blocking: usize,
pub answered: usize,
pub expected: usize,
pub clean: bool,
}Expand description
One review + verify + fix round.
Fields§
§round: usize1-based round number.
head: StringCommit the round reviewed.
reviews: Vec<ReviewRecord>Reviewer reports.
e2e: Vec<CommandOutcome>E2E command outcomes for this round.
verify_retried: boolTrue when the first verify attempt this round could not build or
link, and e2e above holds a second attempt run before concluding.
A run must never be decided on a red it could not tell from an
unrelated build race.
fix: Option<FixRecord>Fixer response, absent when the round was already clean.
blocking: usizeFindings that hold the merge.
answered: usizeReviewer seats that answered (did not time out, crash, or return something unparsable).
expected: usizeReviewer seats the round expected an answer from — normally
graph.reviewers, but recorded per round so a config change between
runs never has to be inferred from history.
clean: boolRound ended with no blocking findings and green verification, judged
against the seats that answered. See Self::incomplete for whether
that verdict is missing input.
Implementations§
Source§impl ReviewRound
impl ReviewRound
Sourcepub fn incomplete(&self) -> bool
pub fn incomplete(&self) -> bool
Did at least one reviewer seat fail to answer this round?
Trait Implementations§
Source§impl Clone for ReviewRound
impl Clone for ReviewRound
Source§fn clone(&self) -> ReviewRound
fn clone(&self) -> ReviewRound
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ReviewRound
impl Debug for ReviewRound
Source§impl<'de> Deserialize<'de> for ReviewRound
impl<'de> Deserialize<'de> for ReviewRound
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for ReviewRound
impl RefUnwindSafe for ReviewRound
impl Send for ReviewRound
impl Sync for ReviewRound
impl Unpin for ReviewRound
impl UnsafeUnpin for ReviewRound
impl UnwindSafe for ReviewRound
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more