Skip to main content

fire_gate_notify

Function fire_gate_notify 

Source
pub fn fire_gate_notify(
    phase: u32,
    stage: Stage,
    context: &str,
    unexpected: bool,
)
Expand description

Fire the operator-configured gate notify hook, if any.

Reads DEVFLOW_GATE_NOTIFY_CMD; if unset or empty, this is a silent no-op (no notify command configured). Otherwise delegates to [run_notify_command]. unexpected marks a gate fired on a stage the active crate::mode::Mode would not normally gate (e.g. a Define/Plan/Code failure in Auto mode) — a never-silent gate per WR-11.