fangliquanflq
cfb206fe2e
feat(gateway): session activity watchdog, stall notify, compress timeout ( #72424 )
...
Three mechanisms to detect and notify when gateway sessions stall silently:
1. Mid-turn activity heartbeats stamped to SessionDB so hermes sessions list
and hermes status show progress during long turns without new message rows.
2. Stall watchdog: when a busy session has pending inbound and the shared
activity clock is idle past agent.session_stall_timeout (default 300),
log a WARNING and notify the user once to try /new. Notify-only; does
not kill the turn.
3. Compaction timeout: fenceless compress_context callers get a progress-aware
host budget (compression.context_timeout_seconds default 120 idle,
compression.context_total_ceiling_seconds default 600 ceiling). On timeout,
cancel via commit fence, skip compaction without dropping messages, and
continue the turn.
Closes #72016 (slices 1-3; slice 4 cumulative SSE stream-retry deadline
remains a follow-up).
Cherry-picked from PR #72424 by @fangliquanflq.
2026-07-28 00:44:02 +05:30
..
2026-07-24 11:45:57 -07:00
2026-07-05 13:42:46 -07:00
2026-07-24 11:45:57 -07:00
2026-07-24 11:45:57 -07:00
2026-07-24 15:54:08 -07:00
2026-05-28 00:20:11 -07:00
2026-07-22 10:58:22 -07:00
2026-07-28 00:44:02 +05:30
2026-07-27 11:53:48 -04:00
2026-07-27 11:53:48 -04:00
2026-07-18 20:01:55 +05:30
2026-07-16 04:23:12 -07:00
2026-07-27 11:53:48 -04:00
2026-05-18 10:14:38 -07:00
2026-07-26 23:41:54 -07:00
2026-07-25 19:27:17 -07:00
2026-07-21 13:54:11 -05:00
2026-07-23 11:45:07 -07:00
2026-07-22 18:08:59 -05:00
2026-07-18 14:30:24 +05:30
2026-07-27 01:49:43 +05:30
2026-07-05 14:00:20 -07:00
2026-05-17 04:04:15 -07:00
2026-05-29 04:22:27 -07:00
2026-07-27 11:53:48 -04:00
2026-07-24 15:54:08 -07:00
2026-07-28 00:14:19 +05:30
2026-07-24 16:01:38 -07:00
2026-07-26 18:06:21 -07:00
2026-07-24 15:57:09 -07:00
2026-07-23 19:44:35 -07:00
2026-07-24 21:20:52 -05:00
2026-07-28 00:44:02 +05:30
2026-07-28 00:14:19 +05:30
2026-07-24 17:10:39 -07:00
2026-07-02 13:17:41 -07:00
2026-07-24 15:50:36 -07:00
2026-07-24 17:10:39 -07:00
2026-07-23 01:28:58 -05:00
2026-07-18 02:31:20 -07:00
2026-07-25 18:10:24 -07:00
2026-07-23 07:33:36 -07:00
2026-07-18 12:28:59 -07:00
2026-07-26 20:58:48 -07:00
2026-07-17 13:49:12 -07:00
2026-07-22 04:40:07 -07:00
2026-07-26 20:58:57 -07:00
2026-07-26 20:59:16 -07:00
2026-07-24 12:10:03 -05:00
2026-06-18 22:13:07 -07:00
2026-05-13 22:31:28 -07:00
2026-07-23 08:32:09 -07:00
2026-07-16 05:39:33 -07:00
2026-07-26 12:54:45 -07:00
2026-05-28 00:20:11 -07:00
2026-07-14 16:47:33 +05:30
2026-06-30 16:56:01 -07:00
2026-07-05 00:59:35 -07:00
2026-07-01 16:25:48 -05:00
2026-06-30 15:16:21 -05:00
2026-07-16 07:57:51 -07:00
2026-07-23 08:19:14 -07:00
2026-05-11 16:49:13 -07:00
2026-07-24 13:00:53 +05:30
2026-06-21 12:03:46 -07:00
2026-06-19 15:23:41 +08:00
2026-06-25 12:24:34 -05:00
2026-07-24 16:01:38 -07:00
2026-07-01 04:07:46 -07:00
2026-07-24 13:00:15 -07:00
2026-05-27 00:43:32 -07:00
2026-07-20 11:05:52 -07:00
2026-07-24 17:10:39 -07:00
2026-07-22 12:10:58 -05:00
2026-06-23 08:01:50 +00:00
2026-05-10 07:09:28 -07:00
2026-07-16 01:13:43 -07:00
2026-07-05 03:14:55 -07:00
2026-07-23 16:58:06 -07:00
2026-07-24 16:01:38 -07:00
2026-07-10 05:41:59 -05:00
2026-07-27 23:09:47 +05:00
2026-07-26 20:59:11 -07:00
2026-07-19 08:25:35 +05:30
2026-07-07 11:57:01 +05:30
2026-07-16 04:32:23 -07:00
2026-07-22 04:39:17 -07:00
2026-07-28 00:44:02 +05:30
2026-07-26 20:36:47 -07:00
2026-07-05 14:48:11 -07:00
2026-07-26 02:58:12 -05:00
2026-07-24 11:45:57 -07:00
2026-07-26 20:59:26 -07:00
2026-07-24 15:53:38 -07:00
2026-07-02 04:51:56 +05:30
2026-05-28 04:53:27 -07:00
2026-07-17 18:31:09 +00:00
2026-07-26 23:27:30 -07:00
2026-07-01 04:55:15 -07:00
2026-07-22 08:11:09 +05:30
2026-07-25 19:25:34 -07:00
2026-07-16 01:07:29 +05:30
2026-06-25 19:00:48 -07:00
2026-06-30 17:28:33 -07:00
2026-07-26 02:58:16 -05:00
2026-07-16 04:26:32 -07:00
2026-07-28 00:14:19 +05:30
2026-07-26 21:27:45 -07:00
2026-07-11 05:41:58 -07:00
2026-07-24 11:45:57 -07:00
2026-05-25 01:41:19 -07:00
2026-07-14 02:59:39 +05:30
2026-05-24 18:04:54 -07:00
2026-07-14 02:59:39 +05:30
2026-07-24 16:00:34 -07:00
2026-07-23 19:44:35 -07:00
2026-07-22 12:02:40 -05:00
2026-07-26 17:47:51 -07:00
2026-07-20 05:38:45 -07:00
2026-07-24 15:55:08 -07:00
2026-07-12 04:32:52 -07:00
2026-06-30 00:59:29 -05:00
2026-07-02 06:07:56 +05:30
2026-07-14 02:59:39 +05:30
2026-07-14 02:59:39 +05:30
2026-07-06 02:42:24 -07:00
2026-07-06 04:38:17 -07:00