pub fn resolve_exit_reason(
exit_code: Option<i32>,
log_tail: Option<&str>,
oom_killed: Option<bool>,
) -> Option<String>Expand description
Resolve the best available hint for why an execution ended.
Precedence: the log marker (evidence written by the command itself), then the cgroup OOM observation, then the signal encoded in the exit code.