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 (RFC 0016 §5.1 / §8.1). RFC 0011 §5 owns the table of code→meaning; this const freezes that mapping as a versioned public API a control plane authors podFailurePolicy rules against. Additive within a major; any change to a code’s meaning or to the pod_failure_intent mapping is breaking and bumps the major (RFC 0016 §8.2). agentctl refuses to compile rules for an exit_codes major it does not understand (§8.3).