Files
DeepTutor/tests/runtime
evan188199-tech 6c5a6fa1c9 fix(runtime): surface launcher termination and port-kill signal failures (#1715)
_terminate and _kill_port_listeners wrapped every tree signal in
bare except-pass blocks, so a child or port listener the signals could
not reach survived shutdown with no log line to trace: zombie children
and occupied ports after restart, with nothing to investigate.

Signal delivery now goes through _signal_target, which logs each
failure at WARNING with its cause; the SIGTERM -> wait -> SIGKILL
ladder and its timeouts are unchanged. A target that is already gone
is not a failure: ESRCH from os.kill/os.killpg is treated as
terminated, and on Windows _send_tree_signal now checks taskkill's
exit code, staying quiet for its "process not found" (128) while
raising for real failures such as access denied, so the Windows path
is observable too.

Co-authored-by: XZH <cto@xzh.ai>
2026-10-07 20:23:04 +08:00
..
2026-09-21 02:30:40 +08:00
2026-07-31 00:25:48 +08:00
2026-04-23 19:29:16 +08:00
2026-07-31 00:25:48 +08:00
2026-09-06 13:46:29 +08:00
2026-08-02 13:07:32 +08:00
2026-09-03 01:38:54 +08:00
2026-08-02 13:07:32 +08:00