Files
loki/scripts
GandClaude Opus 4.8 a0834e1a2a fix(ops): recovery-aware failure alerts — kill deploy-restart noise (#72)
The OnFailure notifier paged on EVERY deploy: a Next proc SIGKILLed after
TimeoutStopSec marks its unit failed → OnFailure fires even though the new
version is healthy (8 alerts in 2 days, ~6 were deploy restarts). Now: a
long-running service back active a few seconds later is journal-only (restart/
transient, no Telegram); only a unit that STAYS down pages. oneshot crons still
always page (a failed job is real signal). Both paths tested live on the box.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-19 09:40:27 +02:00
..