test: fix sandbox manager argument comment

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-04-08 15:46:25 -07:00
co-authored by Codex
parent 61500eed40
commit 59cf71736f
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -693,7 +693,7 @@ fn process_exec_tool_call_uses_platform_sandbox_for_network_only_restrictions()
NetworkSandboxPolicy::Restricted,
codex_sandboxing::SandboxablePreference::Auto,
codex_protocol::config_types::WindowsSandboxLevel::Disabled,
/*enforce_managed_network*/ false,
/*has_managed_network_requirements*/ false,
),
expected
);
+1
View File
@@ -66,4 +66,5 @@ pub use protocol::WriteStatus;
pub use server::DEFAULT_LISTEN_URL;
pub use server::ExecServerListenUrlParseError;
pub use server::run_main;
pub use server::run_main_with_listen_url;
pub use server::run_main_with_runtime;
+7 -1
View File
@@ -10,7 +10,13 @@ pub use transport::DEFAULT_LISTEN_URL;
pub use transport::ExecServerListenUrlParseError;
pub async fn run_main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
run_main_with_runtime(DEFAULT_LISTEN_URL, crate::ExecServerRuntimeConfig::detect()).await
run_main_with_listen_url(DEFAULT_LISTEN_URL).await
}
pub async fn run_main_with_listen_url(
listen_url: &str,
) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
run_main_with_runtime(listen_url, crate::ExecServerRuntimeConfig::detect()).await
}
pub async fn run_main_with_runtime(