Skip to content

The agent that grows with you

test(e2e): gateway exit mid-tool no longer a known break; the tree kill lands here

teknium1b8e69858021e
diff --git a/tests/e2e/core/chaos/test_tui_gateway_turn_liveness.py b/tests/e2e/core/chaos/test_tui_gateway_turn_liveness.py
index 5a1850d76f5..c5b6c226a0a 100644
--- a/tests/e2e/core/chaos/test_tui_gateway_turn_liveness.py
+++ b/tests/e2e/core/chaos/test_tui_gateway_turn_liveness.py
@@ -456,18 +456,7 @@ def scenario_futures(request: pytest.FixtureRequest, tmp_path_factory: pytest.Te
fut.cancel()
-# Real production bug on base (reported, not fixed here): when the gateway leaves mid-tool —
-# client closes stdin or supervisor SIGTERMs — _shutdown_sessions() closes the agents but the
-# in-flight foreground terminal command (its own process group) is never killed, so the
-# `bash -c ...` + `sleep 3600` tree survives, reparented to init, and its tool_call is left with
-# no result in state.db. strict: flips red once fixed. raises= names only the leftovers check's
-# exception, so everything before it is asserted normally.
-_ORPHANED_FOREGROUND_TOOL = pytest.mark.xfail(
- strict=True, raises=ToolOutlivedGateway,
- reason="tui_gateway exit (EOF/SIGTERM) orphans the running foreground terminal tool's process tree "
- "and leaves its tool_call without a result")
-KNOWN_BUGS = {"stdin_eof_during_hung_tool": _ORPHANED_FOREGROUND_TOOL,
- "sigterm_during_hung_tool": _ORPHANED_FOREGROUND_TOOL}
+KNOWN_BUGS: dict = {}
@pytest.mark.parametrize("scn", [