Module state

Module state 

Source
Expand description

Rollout-level state (RFC-0008 §3). Eight states, all CP-internal.

Parallel to the per-host HostRolloutState (RFC-0005 §3): same pure- reducer shape, but operates on a (channel, rollout_id) aggregate rather than a (rollout_id, hostname) per-host slot.

Structs§

RolloutId
Content-addressed rollout identifier (RFC-0008 §6.3).
RolloutRecord
The full row shape the reducer operates on. Mirrors the on-disk rollouts table (RFC-0008 §6.3) plus per-rollout in-memory aggregates the reducer needs to decide transitions.

Enums§

RolloutState
The eight rollout-level states per RFC-0008 §3.

Type Aliases§

ChannelId
ChannelRef
A signed channel ref (typically a closure hash or a tagged ref name). Shared between reconciler (PlanAction::OpenRollout.target_ref) and state-machine (RolloutEvent::RolloutOpened.target_ref); lives in proto so both pure crates can depend on it without cross-edges (RFC-0008 §7).
ClosureHash