From c74b3da6855954d76ff813518e97ee4b97004f19 Mon Sep 17 00:00:00 2001 From: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> Date: Tue, 17 Nov 2026 18:28:21 +0800 Subject: [PATCH] test(codex): select Bash for native coverage capture Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> --- tests/control_plane/test_codex_context_boundary.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/control_plane/test_codex_context_boundary.py b/tests/control_plane/test_codex_context_boundary.py index 53877bec22..13c08861d5 100644 --- a/tests/control_plane/test_codex_context_boundary.py +++ b/tests/control_plane/test_codex_context_boundary.py @@ -219,7 +219,8 @@ def test_native_code_mode_resume_requires_observed_coverage( current_stop = "Stop before submitting the new result." def read_command(cmd): - return "await tools.exec_command(" + json.dumps({"cmd": cmd, "max_output_tokens": 8000}) + ")" + # The capture pipeline requires Bash even when the native host defaults to /bin/sh. + return "await tools.exec_command(" + json.dumps({"cmd": cmd, "shell": "/bin/bash", "max_output_tokens": 8000}) + ")" def resumed_response(request, number, message): nonlocal resume_state, first_read