pub struct SweepReport {
pub swept: usize,
pub fired: Vec<(WorkflowId, u64)>,
pub alarms: Vec<(WorkflowId, InvariantAlarm)>,
pub dead: Vec<WorkflowId>,
pub retired: Vec<WorkflowId>,
pub faults: Vec<(WorkflowId, String)>,
}Expand description
What one sweep pass did — the service’s own observability surface.
Fields§
§swept: usizeLoops evaluated this pass.
fired: Vec<(WorkflowId, u64)>Cadence fires recorded: (loop, window sequence).
alarms: Vec<(WorkflowId, InvariantAlarm)>Alarms raised on the one path: (loop, alarm).
dead: Vec<WorkflowId>Loops found dead (cadence fire refused on a terminal run) and deregistered after their loop-dead alarms were raised.
retired: Vec<WorkflowId>Loops found RETIRED (cadence fire refused on a run carrying
LoopRetired) and withdrawn from the sweep set with no alarms — a
declared stop, reported separately from a death so an operator reading
this report is never told a decommission was an incident.
faults: Vec<(WorkflowId, String)>Per-loop faults that did not stop the sweep, with their loop.
Trait Implementations§
Source§impl Debug for SweepReport
impl Debug for SweepReport
Source§impl Default for SweepReport
impl Default for SweepReport
Source§fn default() -> SweepReport
fn default() -> SweepReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SweepReport
impl RefUnwindSafe for SweepReport
impl Send for SweepReport
impl Sync for SweepReport
impl Unpin for SweepReport
impl UnsafeUnpin for SweepReport
impl UnwindSafe for SweepReport
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