pub fn daemon_exit_code(exit_code: Option<i32>, shutdown: bool) -> i32Expand description
The daemon’s own exit code after the worker stopped.
A clean quit (52) and a daemon-side shutdown signal exit 0; a worker that never booted (53) exits 1 so deployment pipelines see the failure; a crashed worker’s code is propagated instead of being masked as success.