fn build_bootstrap_for_host(
state: &Arc<AppState>,
host: &str,
) -> Vec<HostRolloutSnapshot>Expand description
Scan active records for host and produce a
HostRolloutSnapshot per record. Called only on
boot-recovery-shaped heartbeats (rollout_id=None). Order is
deterministic by (rollout_id, hostname) PK in SQL; the agent
applies them in arrival order.