salch-cred
e70801e736
fix(cron): keep a sticky last_failure stamp so a healed run stays visible
...
A failed cron run records last_status=error and bumps failure_streak
correctly, but the next successful run resets both in the same pass and
nothing durable records that a failure happened — a silent watchdog-style
script that fails every Nth tick collapses to a single tick of visible
failure, and monitors sampling jobs.json report green forever (#118354 ).
Stamp job[last_failure] = {at, detail} on every failed run, latest
failure wins, and do NOT clear it on success: last_status keeps
describing current health while last_failure preserves the recency
evidence for dashboards and cron list. cron list now prints a warning
line for the stamp (marked recovered when last_status is healthy).
Fixes #118354
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com >
2026-10-02 20:29:53 -05:00
..
2026-09-27 15:04:50 +05:30
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 08:09:47 -07:00
2026-09-20 17:55:54 +05:30
2026-09-20 17:55:54 +05:30
2026-09-23 03:15:26 -07:00
2026-09-21 02:52:15 -07:00
2026-09-23 07:02:44 -04:00
2026-10-02 01:00:00 +05:30
2026-09-23 15:26:34 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 07:02:44 -04:00
2026-09-25 21:28:32 +05:30
2026-09-29 15:58:55 +05:30
2026-09-23 07:02:44 -04:00
2026-09-23 07:02:44 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 07:02:44 -04:00
2026-10-02 13:50:23 -04:00
2026-10-01 20:14:31 -04:00
2026-09-23 07:02:44 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 07:02:44 -04:00
2026-09-23 07:02:44 -04:00
2026-09-29 22:57:48 -04:00
2026-09-21 02:52:15 -07:00
2026-09-21 02:52:15 -07:00
2026-09-21 02:52:15 -07:00
2026-09-29 22:57:48 -04:00
2026-09-23 03:15:26 -07:00
2026-09-20 15:54:45 -07:00
2026-09-23 10:42:18 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-28 05:28:05 -07:00
2026-09-23 03:15:26 -07:00
2026-09-28 12:43:03 -07:00
2026-09-23 03:15:26 -07:00
2026-09-28 02:32:05 +05:30
2026-09-23 03:15:26 -07:00
2026-09-26 19:57:55 +05:30
2026-09-28 02:32:05 +05:30
2026-09-29 15:58:55 +05:30
2026-09-20 17:59:57 +05:30
2026-09-28 19:07:43 +05:30
2026-09-23 10:37:15 -07:00
2026-09-28 12:43:03 -07:00
2026-09-28 19:07:43 +05:30
2026-09-28 05:28:05 -07:00
2026-09-21 14:49:05 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-10-02 01:02:00 +05:30
2026-10-02 01:02:00 +05:30
2026-10-02 01:33:04 +05:30
2026-10-02 20:29:53 -05:00
2026-09-23 07:02:44 -04:00
2026-09-30 21:33:08 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 10:37:15 -07:00
2026-09-28 02:32:05 +05:30
2026-09-23 03:15:26 -07:00
2026-09-23 07:02:44 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 15:26:34 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 07:02:44 -04:00
2026-09-23 10:42:18 -04:00
2026-09-23 03:15:26 -07:00
2026-09-28 05:28:05 -07:00
2026-09-24 16:59:23 +05:30
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-30 20:57:21 -04:00
2026-10-01 22:25:21 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 07:02:44 -04:00
2026-10-01 17:18:56 -07:00
2026-09-24 12:47:41 -04:00
2026-09-23 07:02:44 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 07:02:44 -04:00
2026-09-20 17:59:57 +05:30
2026-09-23 07:02:44 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 19:51:34 -04:00
2026-09-26 20:52:42 +05:30
2026-09-23 03:15:26 -07:00