mirror of
https://github.com/openai/codex.git
synced 2026-09-09 15:58:47 +00:00
codex: fix follow-up CI failures on PR #16937
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -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(),
|
||||
)
|
||||
|
||||
@@ -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],
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user