Skip to main content

validate_runtime_complete

Function validate_runtime_complete 

Source
pub fn validate_runtime_complete(
    sub_graph: &GraphProto,
) -> Result<(), CompileError>
Expand description

Validate that every compiler-required gate / lifecycle op is present alongside the ops it serves. Returns Ok(()) on success, Err describing the first missing piece otherwise.

Sends/Recvs that carry an explicit peer attribute (peer-specific routing) are gated by the canonical TX/RX gate chains. Sends/Recvs without peer route via the runtime address book using dest_target metadata and do not require the per-peer gates.