Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

windows-sandbox: fix capture cancellation test roots (#24974)

Michael Bolinbcf2b5595772
diff --git a/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs b/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs
index 280faf3d28..96f5c39e92 100644
--- a/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs
+++ b/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs
@@ -477,7 +477,7 @@ fn legacy_capture_cancellation_is_not_reported_as_timeout() {
let started_at = Instant::now();
let result = run_windows_sandbox_capture(
&permission_profile,
- cwd.as_path(),
+ workspace_roots_for(cwd.as_path()).as_slice(),
codex_home.path(),
vec![
pwsh.display().to_string(),