diff --git a/tests/tools/test_daytona_environment.py b/tests/tools/test_daytona_environment.py index 54039379174..b34dade3d81 100644 --- a/tests/tools/test_daytona_environment.py +++ b/tests/tools/test_daytona_environment.py @@ -269,7 +269,7 @@ class TestExecute: sb.process.exec.reset_mock() sb.process.exec.return_value = _make_exec_response(result="ok", exit_code=0) env.execute("echo hello") - # The command sent to _DaytonaProcessHandle should be wrapped with + # The command sent to _ThreadedProcessHandle should be wrapped with # `timeout N bash -c '...'` call_args = sb.process.exec.call_args_list[-1] cmd = call_args[0][0] @@ -329,7 +329,7 @@ class TestExecute: sb.process.exec.return_value = _make_exec_response(result="/tmp", exit_code=0) env.execute("pwd", cwd="/tmp") # In the unified model, cwd is embedded in the _wrap_command output - # and the _DaytonaProcessHandle also passes cwd to the SDK + # and the _ThreadedProcessHandle also passes cwd to the SDK call_args = sb.process.exec.call_args_list[-1] cmd = call_args[0][0] # The wrapped command includes a cd to the cwd diff --git a/tools/environments/modal.py b/tools/environments/modal.py index 832012d1e8f..93cf411586b 100644 --- a/tools/environments/modal.py +++ b/tools/environments/modal.py @@ -155,7 +155,7 @@ class ModalEnvironment(BaseEnvironment): """Modal cloud execution via native Modal sandboxes. Uses the unified spawn-per-call model: _run_bash() returns a - _ModalProcessHandle that wraps Modal's async SDK in a thread + OS pipe, + _ThreadedProcessHandle that wraps Modal's async SDK in a thread + OS pipe, satisfying the ProcessHandle protocol for BaseEnvironment._wait_for_process(). """