thewillhuang
e286e68756
feat(kanban): stale detection for running tasks in dispatcher
...
Salvages #23790 by @thewillhuang. Adds detect_stale_running() to
the dispatcher cycle. Running tasks that have been started for longer
than dispatch_stale_timeout_seconds (default 14400 = 4h) without a
heartbeat in the last hour are auto-reclaimed to ready.
- New config kanban.dispatch_stale_timeout_seconds (default 14400, 0 disables)
- New 'stale' field on DispatchResult
- detect_stale_running() in kanban_db.py with heartbeat freshness check
- Records outcome='stale' on run close + 'stale' event; ticks failure counter
- Wires config through gateway embedded dispatcher
- Updates _cmd_dispatch verbose/JSON output and daemon logging
Resolved test-file end-of-file conflict by appending both halves.
2026-05-18 21:20:56 -07:00
..
2026-05-18 21:15:21 -07:00
2026-05-18 10:14:38 -07:00
2026-05-18 20:06:49 -07:00
2026-05-18 20:08:36 -07:00
2026-05-18 20:08:11 -07:00
2026-05-14 19:08:38 -07:00
2026-03-14 14:27:20 +03:00
2026-05-18 10:19:40 -07:00
2026-05-18 21:20:56 -07:00
2026-05-17 23:28:45 -07:00
2026-05-17 02:29:41 -07:00
2026-04-16 16:50:15 -07:00
2026-04-30 02:35:29 -07:00
2026-05-18 21:07:03 -07:00
2026-05-15 14:06:51 -07:00
2026-05-18 20:08:09 -07:00
2026-05-14 22:27:09 -07:00
2026-05-17 02:29:41 -07:00
2026-05-18 21:07:03 -07:00
2026-05-18 21:15:21 -07:00
2026-05-17 02:29:41 -07:00
2026-05-05 13:46:20 -07:00
2025-10-01 23:29:25 +00:00
2026-05-18 20:47:51 -07:00
2026-03-17 02:53:33 -07:00
2026-04-21 01:56:35 -07:00
2026-04-28 04:58:22 -07:00
2026-04-21 06:06:16 -07:00
2026-04-24 14:32:21 -07:00
2026-04-21 08:00:00 -07:00
2026-04-28 05:21:49 -07:00
2026-04-29 23:18:55 -07:00
2026-05-12 20:46:04 -07:00
2026-04-12 03:53:30 -07:00
2026-03-15 21:59:53 -07:00
2026-05-14 14:51:07 -07:00
2026-04-30 04:32:06 -07:00
2026-05-08 14:43:13 -07:00
2026-05-07 09:59:07 -07:00
2026-05-02 01:49:55 -07:00
2026-04-26 19:01:26 -07:00
2026-05-09 02:09:35 -07:00
2026-05-09 17:53:02 -07:00
2026-04-02 15:33:51 -07:00
2026-05-14 09:05:31 -07:00
2026-05-06 04:02:02 -07:00
2026-04-28 06:45:55 -07:00
2026-05-14 07:08:45 -07:00
2026-05-07 13:04:08 -07:00
2026-04-11 23:12:11 -07:00
2026-05-06 01:11:49 +05:30
2026-05-08 14:27:40 -07:00
2026-05-17 02:29:41 -07:00
2026-05-07 13:41:16 -07:00
2026-04-20 12:23:05 -07:00
2026-04-19 22:44:47 -07:00
2026-05-18 10:34:03 -07:00
2026-03-24 08:19:23 -07:00
2026-04-07 17:59:42 -07:00
2026-04-29 05:00:40 -07:00
2026-05-15 10:36:38 +05:30
2026-04-07 22:23:28 -07:00
2026-05-16 12:15:45 -07:00
2026-03-30 17:34:43 -07:00
2026-05-05 10:15:31 -07:00
2026-05-07 06:35:54 -07:00
2026-05-18 20:35:00 -07:00
2026-04-08 00:41:36 -07:00
2026-05-16 00:57:39 -07:00
2026-03-19 15:16:35 +01:00
2026-05-18 17:39:50 +00:00
2026-05-07 13:04:08 -07:00
2026-05-17 02:29:41 -07:00
2026-02-26 13:54:20 +03:00
2026-05-14 08:03:33 -07:00
2026-04-20 12:23:05 -07:00
2026-04-20 12:23:05 -07:00
2026-05-07 05:46:05 -07:00
2026-04-20 23:20:33 -07:00
2026-05-18 20:10:46 -04:00
2026-03-30 13:28:10 +09:00
2026-04-26 18:50:49 -07:00
2026-04-26 18:50:49 -07:00
2026-04-26 18:50:49 -07:00
2026-04-26 18:50:49 -07:00