pub struct GateReport {Show 13 fields
pub gate: String,
pub runs: usize,
pub passed: usize,
pub failed: usize,
pub unavailable: usize,
pub median_ms: u64,
pub last_ms: u64,
pub last_at: u64,
pub last_outcome: Option<RunOutcome>,
pub fingerprints: usize,
pub missed: usize,
pub flags: Vec<Flag>,
pub abstained: Option<String>,
}Expand description
What the record says about one gate in one repository.
Fields§
§gate: String§runs: usizeRuns in the window, of every outcome.
passed: usize§failed: usizeRan and did not judge: the tool was missing, or the repository lacks what turns the gate on. Counted apart from a pass, always — this is the number the fleet audit was blind to.
median_ms: u64Median wall-clock of the runs that reached a verdict, milliseconds.
last_ms: u64§last_at: u64§last_outcome: Option<RunOutcome>§fingerprints: usizeDistinct fingerprints this gate ran against.
missed: usizeFingerprints that other gates judged AFTER this gate last ran, and that this gate did not. The “in pushes” half of staleness.
flags: Vec<Flag>§abstained: Option<String>Set when the history is too short to say anything, with the count in words. A report that abstains says so; it does not print an empty flags column that reads as “all clear”.
Implementations§
Source§impl GateReport
impl GateReport
Sourcepub fn last_age_days(&self, now: u64) -> u64
pub fn last_age_days(&self, now: u64) -> u64
Age of the last run in whole days.
Trait Implementations§
Source§impl Clone for GateReport
impl Clone for GateReport
Source§impl Debug for GateReport
impl Debug for GateReport
impl Eq for GateReport
Source§impl PartialEq for GateReport
impl PartialEq for GateReport
impl StructuralPartialEq for GateReport
Auto Trait Implementations§
impl Freeze for GateReport
impl RefUnwindSafe for GateReport
impl Send for GateReport
impl Sync for GateReport
impl Unpin for GateReport
impl UnsafeUnpin for GateReport
impl UnwindSafe for GateReport
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
Mutably borrows from an owned value. Read more