adlee-was-taken
8c76072eb2
fix(watchdog): compare the last tick in milliseconds, like opencode's call times
...
last_tick is epoch seconds while opencode's call start times are epoch
milliseconds, so every call ever made looked "since the last tick". Each
tick re-judged the whole session history: a dry run against live opencode
triggered three alerts (two critical) for sessions idle since the night
before, which could never resolve because their history never changes.
The tests hid it by stubbing call times in seconds. They now use
milliseconds, and the idle-session test carries a 60-call loop that would
flag if judged, plus the tables a full tick reads, so a swallowed crash can
no longer pass as "no alert". It fails without this fix.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01N9biTbFC63yDfYfUsZmhgd
2026-09-26 15:15:18 -04:00
..
2026-09-26 11:28:45 -04:00
2026-09-09 19:16:08 -04:00
2026-09-08 18:39:17 -04:00
2026-09-09 19:16:08 -04:00
2026-09-06 18:33:14 -04:00
2026-09-08 18:30:06 -04:00
2026-09-05 23:54:43 -04:00
2026-09-07 18:47:40 -04:00
2026-09-18 00:45:08 -04:00
2026-09-26 03:03:30 -04:00
2026-09-26 03:03:30 -04:00
2026-08-30 00:03:05 -04:00
2026-09-26 03:03:30 -04:00
2026-09-26 13:09:27 -04:00
2026-09-08 10:59:04 -04:00
2026-09-26 03:03:06 -04:00
2026-09-08 18:33:50 -04:00
2026-09-26 03:03:06 -04:00
2026-09-12 11:54:25 -04:00
2026-09-08 20:49:36 -04:00
2026-09-08 18:30:06 -04:00
2026-09-06 02:02:57 -04:00
2026-09-08 18:33:50 -04:00
2026-09-26 03:03:30 -04:00
2026-09-26 03:03:30 -04:00
2026-08-30 00:03:05 -04:00
2026-09-26 13:09:27 -04:00
2026-09-08 20:49:36 -04:00
2026-09-06 18:33:14 -04:00
2026-08-30 00:03:05 -04:00
2026-09-06 12:47:49 -04:00
2026-09-13 20:11:56 -04:00
2026-09-26 13:15:25 -04:00
2026-08-23 16:02:25 -04:00
2026-09-18 00:45:08 -04:00
2026-09-05 23:53:44 -04:00
2026-09-09 22:55:26 -04:00
2026-09-06 02:43:19 -04:00
2026-09-23 01:22:59 -04:00
2026-09-06 01:43:52 -04:00
2026-08-23 22:23:08 -04:00
2026-09-23 01:22:59 -04:00
2026-09-23 01:22:59 -04:00
2026-09-20 21:43:21 -04:00
2026-09-26 11:42:05 -04:00
2026-09-13 19:38:12 -04:00
2026-09-06 19:10:24 -04:00
2026-09-20 21:27:52 -04:00
2026-09-20 20:21:09 -04:00
2026-09-06 12:50:27 -04:00
2026-09-06 14:12:54 -04:00
2026-09-10 22:21:09 -04:00
2026-09-08 14:05:16 -04:00
2026-09-23 01:22:59 -04:00
2026-09-20 20:28:22 -04:00
2026-09-06 22:36:10 -04:00
2026-09-01 23:05:09 -04:00
2026-08-28 19:02:47 -04:00
2026-09-01 22:10:22 -04:00
2026-09-18 00:00:19 -04:00
2026-09-18 00:00:19 -04:00
2026-09-06 02:43:19 -04:00
2026-09-13 20:53:34 -04:00
2026-09-18 00:32:55 -04:00
2026-09-04 20:55:41 -04:00
2026-08-30 00:03:05 -04:00
2026-09-08 14:05:16 -04:00
2026-09-04 21:01:04 -04:00
2026-09-23 16:20:15 -04:00
2026-09-01 00:20:10 -04:00
2026-08-22 21:52:58 -04:00
2026-09-13 19:47:24 -04:00
2026-09-16 14:34:27 -04:00
2026-09-16 14:34:27 -04:00
2026-09-26 03:03:30 -04:00
2026-09-08 22:26:39 -04:00
2026-09-13 11:04:02 -04:00
2026-09-06 18:11:01 -04:00
2026-09-20 20:03:07 -04:00
2026-09-26 13:15:25 -04:00
2026-09-06 01:16:27 -04:00
2026-09-20 20:26:16 -04:00
2026-09-08 18:55:16 -04:00
2026-09-06 01:29:15 -04:00
2026-09-09 18:34:35 -04:00
2026-09-13 11:37:59 -04:00
2026-09-08 21:24:58 -04:00
2026-09-26 14:58:01 -04:00
2026-09-26 14:46:29 -04:00
2026-09-10 22:05:12 -04:00
2026-09-20 19:54:14 -04:00
2026-08-23 20:19:46 -04:00
2026-09-13 12:25:39 -04:00
2026-09-09 21:19:09 -04:00
2026-09-13 20:53:34 -04:00
2026-08-12 00:03:43 -04:00
2026-09-02 02:09:59 -04:00
2026-09-04 20:56:15 -04:00
2026-08-26 20:58:12 -04:00
2026-09-01 00:20:10 -04:00
2026-09-08 18:51:22 -04:00
2026-09-03 19:33:14 -04:00
2026-09-08 14:15:35 -04:00
2026-08-21 19:03:17 -04:00
2026-09-08 14:15:35 -04:00
2026-09-20 21:43:21 -04:00
2026-09-13 11:19:13 -04:00
2026-09-18 23:31:07 -04:00
2026-08-21 19:02:07 -04:00
2026-09-26 15:15:18 -04:00