Crash resilience: systemd unit + systemd-aware restart script (v1.25.0) #50
Loading…
Reference in a new issue
No description provided.
Delete branch "oss-oo/obs-crisis-hardening-nkyw20260926"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The observatory is a link in the orchestration chain (bells → broker → observatory → owner); its crash during the 2026-09-25/26 triple crisis needed a manual restart. This round adds the safety net without changing the opt-in character:
zcode-observatory.service—Restart=on-failuresystemd user unit, deliberately NOT auto-enabled (owner preference);install.shtemplates the ExecStart path, installs the unit and prints the enable command without running it (--no-unitopts out).observatory-restart.sh— preferssystemctl --user restartwhen the unit exists; the legacy fallback uses a bracketed pgrep pattern (the ps-grep predecessor killed its own shell on the station) and logs under XDG state (never/tmp, which the station wipes on reboot).Pairs with zcode-dispatch v1.0.1 (PR #31): broker restart policy + watchdog, scoped notification bells, canary infra group whose failures surface in the contract banner.