compute_rollout_id_for_channel

Function compute_rollout_id_for_channel 

Source
pub fn compute_rollout_id_for_channel(
    fleet: &FleetResolved,
    fleet_resolved_hash: &str,
    channel: &str,
) -> Result<Option<String>>
Expand description

CP-side rolloutId for a host on channel. Ok(None) when the channel has no host with a declared closure. The id is the canonical RFC-0008 §6.3 composite "{channel}@{channel_ref}", deterministic from the projection inputs; producer and CP derive the same string for the same inputs.