Skip to main content

finalize_detached_execution

Function finalize_detached_execution 

Source
pub fn finalize_detached_execution(
    store: &ExecutionStore,
    execution_id: &str,
    facts: &DetachedFinalizeFacts,
) -> FinalizeOutcome
Expand description

Persist the terminal state of a detached execution.

Purely additive with respect to the observation-vs-verdict discipline of issues #148/#151/#162: oom_killed and exit_reason are recorded as facts next to the exit code, never as a substitute for it.