list_active

Function list_active 

Source
pub(in server) async fn list_active(
    __arg0: State<Arc<AppState>>,
) -> Result<impl IntoResponse, StatusCode>
Expand description

GET /v1/rollouts - enumerate active (non-superseded) rollouts with per-host state pulled from host_rollout_state (DB-authoritative, independent of the journal event window).

Operators (status renderers) use this for “what’s actually deployed” instead of inferring from journal target=confirm events - agent confirms only fire on real dispatches, so converged-at-dispatch hosts would otherwise look unconfirmed forever in journal-derived views.