Files
loki/scripts
Cato 247fa9d9b3 fix(crons): a job cut off by a deploy waits for the new app before giving up (#1731)
sync-package-updates paged on 15 Nov with 'Connection reset by peer'
during a Loki deploy, although the runner reruns a converging job when
loki-app restarts mid-request. It checked loki-app's start time the
instant curl failed, but a reset or empty reply is the old process going
down: the new one starts only after that stop finishes (up to ~13 s).
So it never saw the restart. Wait up to 60 s for the start time to move
before deciding; send-once jobs are still never repeated, and a cut with
no restart still fails (after the wait).

The test now also covers the production order (restart lands after the
cut); it fails on the old runner.
2026-11-15 14:26:16 +01:00
..
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00