mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
Enable network access in the shell snapshot filesystem test (#62415)
## Why Remote runners can block bubblewrap from creating a nested network namespace, preventing the shell from starting and reaching the filesystem checks. ## What changed Enable network access in `denied_read_in_second_workspace_root` so the test can exercise denied reads across both workspace roots without requiring a nested network namespace. GitOrigin-RevId: 26eada1e5efde4a31190628f4696c6beb400454d
This commit is contained in:
committed by
copyberry
parent
508a429666
commit
cf881a627d
@@ -63,8 +63,10 @@ async fn snapshot_failure_omits_credentials_and_stops_descendants(
|
||||
},
|
||||
FileSystemAccessMode::Deny,
|
||||
));
|
||||
// This fixture only exercises filesystem restrictions. Remote runners can
|
||||
// deny bubblewrap's nested network namespace before the shell starts.
|
||||
(
|
||||
PermissionProfile::from_runtime_permissions(&policy, NetworkSandboxPolicy::Restricted),
|
||||
PermissionProfile::from_runtime_permissions(&policy, NetworkSandboxPolicy::Enabled),
|
||||
SandboxSelection::Platform {
|
||||
preference: SandboxablePreference::Auto,
|
||||
windows_sandbox: SandboxType::None,
|
||||
|
||||
Reference in New Issue
Block a user