Skip to main content

EXIT_RESTORE_INCOMPLETE

Constant EXIT_RESTORE_INCOMPLETE 

Source
pub const EXIT_RESTORE_INCOMPLETE: u8 = 6;
Expand description

A tune/simulate run ended (via normal completion, Ctrl+C, or a timeout) without being able to confirm the loop was fully restored to its pre-test mode/MV/setpoint – either a second Ctrl+C was received while the restore was in flight, or [tuning].restore_timeout_secs elapsed first. Distinct from every other exit code because it means the loop may have been left mutated with no further attempt made to fix it: an operator must check it by hand, using the tag/value named in the warning printed to stderr. See commands::tune::TuneOutcome::RestoreIncomplete and AGENTS.md’s safety-cancellation section.