codex: fix follow-up CI failures on PR #16937

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-04-06 14:43:35 -07:00
parent b01ed02390
commit bfebabe26b
2 changed files with 5 additions and 5 deletions

View File

@@ -268,7 +268,7 @@ impl<'a> ToolRuntime<UnifiedExecRequest, UnifiedExecProcess> for UnifiedExecRunt
req.process_id,
&prepared.exec_request,
req.tty,
None,
/*startup_exec_approval*/ None,
prepared.spawn_lifecycle,
environment.as_ref(),
)

View File

@@ -99,7 +99,7 @@ async fn exec_command_with_tty(
process_id,
&request,
tty,
None,
/*startup_exec_approval*/ None,
Box::new(NoopSpawnLifecycle),
turn.environment.as_ref().expect("turn environment"),
)
@@ -515,7 +515,7 @@ async fn completed_pipe_commands_preserve_exit_code() -> anyhow::Result<()> {
/*process_id*/ 1234,
&request,
/*tty*/ false,
None,
/*startup_exec_approval*/ None,
Box::new(NoopSpawnLifecycle),
&environment,
)
@@ -558,7 +558,7 @@ async fn unified_exec_uses_remote_exec_server_when_configured() -> anyhow::Resul
/*process_id*/ 1234,
&request,
/*tty*/ true,
None,
/*startup_exec_approval*/ None,
Box::new(NoopSpawnLifecycle),
remote_test_env.environment(),
)
@@ -613,7 +613,7 @@ async fn remote_exec_server_rejects_inherited_fd_launches() -> anyhow::Result<()
/*process_id*/ 1234,
&request,
/*tty*/ true,
None,
/*startup_exec_approval*/ None,
Box::new(TestSpawnLifecycle {
inherited_fds: vec![42],
}),