Merge 67b08649fe into sapling-pr-archive-bolinfest

This commit is contained in:
Michael Bolin
2025-12-10 20:46:27 -08:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -11,6 +11,7 @@ path = "src/lib.rs"
[dependencies]
anyhow = "1.0"
chrono = { version = "0.4.42", default-features = false, features = ["clock", "std"] }
codex-utils-absolute-path = { workspace = true }
dunce = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
+2 -1
View File
@@ -1,3 +1,4 @@
use codex_utils_absolute_path::AbsolutePathBuf;
use crate::policy::SandboxPolicy;
use dunce::canonicalize;
use std::collections::HashMap;
@@ -109,7 +110,7 @@ mod tests {
let _ = fs::create_dir_all(&extra_root);
let policy = SandboxPolicy::WorkspaceWrite {
writable_roots: vec![extra_root.clone()],
writable_roots: vec![AbsolutePathBuf::try_from(extra_root.as_path()).unwrap()],
network_access: false,
exclude_tmpdir_env_var: false,
exclude_slash_tmp: false,