Skip to main content

EXIT_CODES

Constant EXIT_CODES 

Source
pub const EXIT_CODES: &str = "1.0";
Expand description

The exit-code contract version (major.minor), surfaced in the manifest at surfaces.exit_codes. It freezes the code->meaning table plus the pod_failure_intent mapping as a versioned public API that a control plane authors podFailurePolicy rules against. New codes may be added within a major; any change to an existing code’s meaning or intent is breaking and bumps the major, because a reader compiled against the old major would otherwise silently author the wrong policy. agentctl refuses to compile rules for an exit_codes major it does not understand.