fix: repair sandbox audit CI

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
viyatb-oai
2026-07-07 12:50:22 -07:00
co-authored by Codex
parent 0a28aeb597
commit ae0f1133bd
2 changed files with 5 additions and 1 deletions
@@ -519,7 +519,10 @@ mod tests {
#[test]
fn unified_exec_options_combines_default_timeout_with_network_denial_cancellation() {
let cancellation = CancellationToken::new();
let options = unified_exec_options(Some(cancellation.clone()), None);
let options = unified_exec_options(
Some(cancellation.clone()),
/*sandbox_violation_context*/ None,
);
assert_eq!(options.capture_policy, ExecCapturePolicy::ShellTool);
match options.expiration {
@@ -1039,6 +1039,7 @@ impl UnifiedExecProcessManager {
return UnifiedExecProcess::from_spawned(
spawned.map_err(|err| UnifiedExecError::create_process(err.to_string()))?,
request.sandbox,
request.sandbox_violation_context.clone(),
spawn_lifecycle,
)
.await;