Files
loki/scripts/hetzner
CatoandMao Nakamoto 8f9001c308 fix(ops): retry fc-cron through the deploy-restart connection-refused window (#502)
check-runner-stall paged (fc-cron@check-runner-stall.service failed, curl
exit 7 on 127.0.0.1:4002) because its *:30 tick landed inside the ~13s window
fleetcrown-app.service documents on every deploy restart, where the port sits
bound-but-refusing between the old process's SIGKILL and the new one's ready.
The app was healthy again by the very next tick.

fc-cron.sh now retries only on curl's connection-refused (exit 7) a few times
before giving up, so a deploy landing on any *:15/*:30/*:45 cron minute no
longer pages for an outage that self-resolves in seconds. Real HTTP failures
still fail on the first try.

Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
2026-09-05 14:53:46 +00:00
..