Skip to main content

activity_from_snapshot

Function activity_from_snapshot 

Source
pub(super) fn activity_from_snapshot(
    inst: &AgentInstance,
    filestore: &FileStore,
    degraded: &mut Vec<&'static str>,
) -> Activity
Expand description

This channel’s per-block snapshot: a stat first (cheap, and it gives the sort time), the content only when it exists. Ok(None) (the block never wrote one) and Err (a filestore I/O error) are different rows: a real error on an agent that does have history must not read as “never had one” (REPORT_AGENT_PICKER_FIELD_ORDER_SORT_AND_DATA_GAPS_AUDIT_2026_08_24.md §5).