Module fleet_resolved

Module fleet_resolved 

Source
Expand description

fleet.resolved.json types. Produced by CI’s Nix eval, consumed by CP and (fallback path) agents; JCS bytes must round-trip identically across Nix + Rust.

Structs§

Channel
ChannelEdge
Cross-channel ordering edge. The gates channel’s most-recent rollout must reach terminal converged before any new rollout opens on gated. If gates has never had a rollout, the gate is open. Validated at mkFleet eval time: both channels must exist, no cycles. Pre-rename before/after wire keys accepted via serde alias so older signed bytes still verify on upgraded CPs.
DisruptionBudget
Edge
Per-host DAG edge: gated host dispatches only once gates host reaches terminal-for-ordering (Soaked / Converged) within the same rollout. Both hosts must be on the same channel; cross-channel ordering is ChannelEdge’s job. Hard cutover from pre-rename before/after field names - those bytes will not parse.
FleetResolved
HealthGate
Host
Meta
Pin
PolicyWave
RolloutPolicy
Selector
SystemdFailedUnits
Wave

Enums§

OnHealthFailure
Recovery action when a host fails its health gate.

Constants§

STRATEGY_ALL_AT_ONCE
Canonical strategy string for the all-at-once rollout shape.

Functions§

normalize_rollout_policies
Post-deserialization normalization for FleetResolved.rollout_policies.