Module host_rollout_state

Module host_rollout_state 

Source
Expand description

Wire-side per-host rollout state. Mirrors RFC-0005 §3’s 6-state machine.

The CP’s internal source of truth lives in [nixfleet_state_machine::HostState]; this proto type exists for HTTP / JSON serialization on the legacy /v1/hosts view layer. The six variants are 1:1 with the state-machine enum.

Modules§

rusqlite_impls 🔒

Structs§

HostRolloutStateParseError

Enums§

HostRolloutState
7-state machine per RFC-0005 §3. Deferred covers the “activation staged but live-switch skipped pending operator reboot” case (critical-component swap; see RFC-0005 §3.5).