kshitijk4poor
3a94101524
fix(browser): suspect-session recycle + wedged-daemon tree-kill on timeout ( #85125 3b-browser/4c)
...
Builds on e11187208f (salvage of #72206 by @luyifan, authorship
preserved) which added the post-timeout session reset. This commit
completes the Phase 3b contract:
- suspect flag: a command timeout marks the session key suspect;
the NEXT _get_session_info for that key health-checks and recycles
the session instead of handing back the poisoned handle (#72205 )
- flag cleared on fresh-session store so a healthy new session is
never spuriously recycled; cross-key leakage fixed
- wedged-vs-alive rule (#68139 ): after a timeout, if the daemon's
socket still answers, recycle the session only; if it is
unresponsive (or no socket exists to probe — conservative), tree-
kill via agent.deadline.kill_process_tree and evict
- negative probe: successful commands never mark or recycle
Tests: tests/tools/test_browser_suspect_recycle.py (20 tests:
mark-once, recycle-then-succeed, success-never-recycles, tree-kill
invoked on the wedged path with pid assertion, flag lifecycle).
Co-authored-by: luyifan <al3060388206@gmail.com >
2026-08-27 16:11:16 +05:30
..
2026-08-25 04:21:45 -07:00
2026-08-23 20:07:21 -07:00
2026-08-16 22:10:13 -07:00
2026-08-20 05:26:37 -05:00
2026-08-18 21:06:18 -05:00
2026-08-25 13:27:20 +05:30
2026-08-24 16:18:45 +05:30
2026-08-23 17:56:36 -07:00
2026-08-23 18:25:19 -07:00
2026-08-14 21:19:15 -07:00
2026-08-23 21:12:32 -07:00
2026-08-23 03:57:43 -07:00
2026-08-24 00:57:15 +05:30
2026-08-23 03:57:43 -07:00
2026-08-21 15:23:51 -07:00
2026-08-24 03:21:37 -07:00
2026-08-23 20:00:30 -07:00
2026-08-24 03:21:37 -07:00
2026-08-24 03:21:37 -07:00
2026-08-23 13:27:04 +05:30
2026-08-24 20:11:18 -07:00
2026-08-26 19:25:33 -07:00
2026-08-21 22:33:45 +05:30
2026-08-24 21:45:56 -07:00
2026-08-25 01:34:56 +05:30
2026-08-27 16:11:16 +05:30
2026-08-15 00:33:01 -07:00
2026-08-26 19:25:33 -07:00
2026-08-24 20:11:18 -07:00
2026-08-24 21:51:44 -07:00
2026-08-27 16:11:16 +05:30
2026-08-23 18:25:35 -07:00
2026-08-19 16:31:16 -07:00
2026-08-23 18:27:15 -07:00
2026-08-26 18:02:17 +05:30
2026-08-14 21:24:36 -07:00
2026-08-26 16:42:44 -07:00
2026-08-20 01:16:25 +05:30
2026-08-19 14:59:51 -05:00
2026-08-26 19:23:39 -07:00
2026-08-26 19:25:33 -07:00
2026-08-26 19:25:33 -07:00
2026-08-26 04:50:13 -07:00
2026-08-15 18:20:55 -07:00
2026-08-15 17:11:53 -07:00
2026-08-25 02:31:34 -07:00
2026-08-15 22:18:09 -07:00
2026-08-15 18:20:55 -07:00
2026-08-15 22:36:52 -07:00
2026-08-26 19:25:33 -07:00
2026-08-26 16:06:41 +05:30
2026-08-25 16:39:12 -07:00
2026-08-25 21:59:04 -07:00
2026-08-15 02:44:38 -07:00
2026-08-16 22:06:32 -07:00
2026-08-16 20:14:51 -07:00
2026-08-25 04:00:27 -07:00
2026-08-20 05:26:37 -05:00
2026-08-23 17:54:20 -07:00
2026-08-23 17:45:47 -05:00
2026-08-24 03:20:14 -07:00
2026-08-16 11:32:02 -07:00
2026-08-19 10:07:30 -07:00
2026-08-14 22:33:44 -07:00
2026-08-23 18:27:15 -07:00
2026-08-25 01:34:56 +05:30
2026-08-26 06:26:02 -07:00
2026-08-19 16:10:01 -07:00
2026-08-25 02:45:10 -07:00
2026-08-16 23:26:10 -07:00
2026-08-18 20:03:18 -07:00
2026-08-16 23:26:10 -07:00
2026-08-16 23:26:10 -07:00
2026-08-16 23:26:10 -07:00
2026-08-16 23:26:10 -07:00
2026-08-17 01:56:50 -07:00
2026-08-16 23:26:10 -07:00
2026-08-16 23:26:10 -07:00
2026-08-16 23:26:10 -07:00
2026-08-15 23:37:15 -07:00
2026-08-18 21:57:53 -07:00
2026-08-18 20:03:18 -07:00
2026-08-26 08:40:07 -07:00
2026-08-17 03:03:35 -07:00
2026-08-26 08:40:07 -07:00
2026-08-26 08:40:07 -07:00
2026-08-19 16:31:16 -07:00
2026-08-17 03:03:35 -07:00
2026-08-27 14:08:20 +05:30
2026-08-16 23:26:10 -07:00
2026-08-16 22:08:18 -07:00
2026-08-24 17:12:15 +05:30
2026-08-16 23:26:10 -07:00
2026-08-26 08:40:07 -07:00
2026-08-14 21:15:08 -07:00
2026-08-26 02:54:35 +05:30
2026-08-19 01:19:28 -07:00
2026-08-26 19:23:39 -07:00
2026-08-23 03:56:37 -07:00
2026-08-22 11:15:44 -07:00
2026-08-22 02:25:12 -04:00
2026-08-16 22:09:37 -07:00
2026-08-14 21:41:26 -07:00
2026-08-16 22:08:28 -07:00
2026-08-19 22:41:13 -07:00
2026-08-26 04:51:41 -07:00
2026-08-16 22:06:50 -07:00
2026-08-14 22:34:51 -07:00
2026-08-26 16:06:09 +05:30
2026-08-24 20:03:24 -07:00
2026-08-15 00:34:29 -07:00
2026-08-25 04:00:27 -07:00
2026-08-16 01:53:44 -07:00
2026-08-23 21:12:32 -07:00
2026-08-16 02:02:34 -07:00
2026-08-18 12:52:53 -07:00
2026-08-16 22:06:41 -07:00
2026-08-24 23:55:39 -07:00
2026-08-17 17:04:40 -07:00
2026-08-19 01:23:17 +05:30
2026-08-18 14:14:42 -07:00
2026-08-27 14:28:22 +05:30
2026-08-21 22:33:45 +05:30
2026-08-21 14:56:28 +10:00
2026-08-19 16:10:01 -07:00
2026-08-23 19:00:47 -07:00
2026-08-17 19:41:32 +05:30
2026-08-15 23:48:15 -07:00
2026-08-17 10:03:36 -07:00
2026-08-16 22:05:59 -07:00
2026-08-19 16:31:16 -07:00
2026-08-25 16:39:12 -07:00
2026-08-25 16:39:12 -07:00
2026-08-19 11:20:28 -05:00
2026-08-23 18:25:35 -07:00
2026-08-19 16:10:01 -07:00
2026-08-19 16:10:01 -07:00
2026-08-16 21:20:29 -07:00
2026-08-16 22:08:05 -07:00
2026-08-16 22:08:28 -07:00
2026-08-15 12:53:37 +05:30
2026-08-23 13:27:04 +05:30
2026-08-23 13:27:04 +05:30
2026-08-23 15:06:03 +05:30
2026-08-23 03:54:52 -07:00
2026-08-26 19:23:39 -07:00
2026-08-20 00:20:17 -07:00
2026-08-20 02:04:32 -07:00
2026-08-19 15:15:27 -07:00
2026-08-20 00:17:25 -07:00
2026-08-25 04:21:45 -07:00
2026-08-19 23:03:58 -07:00
2026-08-20 00:17:25 -07:00
2026-08-20 20:20:23 -07:00
2026-08-16 21:20:29 -07:00
2026-08-16 21:20:29 -07:00