How srv ended, for the log: “with code 3”, or “killed by signal 9
(SIGKILL)” when a signal ended it and there is no exit code. An outage on
2026-10-24 logged “code 1” for an srv that was killed, which hid the signal.
srv is gone. An agent CLI it didn’t close (srv was killed, crashed, or ran
out of time) still runs in its own process group: end it and what it
started. srv deletes agent-roots.json when it closed every agent itself.
srv_pid is the pid taken when srv was spawned: tokio’s Child::id() is
None once the child has been waited on, which is the case here.
Await the next delivery of a Unix signal, or never resolve if the
signal stream couldn’t be installed. Lets run_unix’s select!
treat an absent handler as “this branch is dormant” rather than
special-casing Option at every poll.
A .deb/.rpm upgrade the app did that now can’t be kept running: offer the version
before it (upgrade_package::offer_go_back). true when the user said yes and the
helper is waiting for this launcher to exit.