Compare commits

...

1 Commits

Author SHA1 Message Date
starr-openai
e5369cecce Make managed-network unified exec tests local
Run the managed-network denial unified exec tests against the local
test harness until remote exec-server sandboxing can enforce the same
proxy-denial behavior inside the remote environment.

Co-authored-by: Codex <noreply@openai.com>
2026-05-04 15:46:39 -07:00

View File

@@ -941,7 +941,11 @@ allow_local_binding = true
Err(err) => panic!("rebuild config layer stack with network requirements: {err}"),
};
});
let test = builder.build_remote_aware(server).await?;
// TODO: switch this back to `build_remote_aware` once remote exec-server
// sandboxing can enforce managed-network proxy denials inside the remote
// environment. Until then, these tests intentionally cover the local
// sandbox/proxy path only.
let test = builder.build(server).await?;
assert!(
test.config.permissions.network.is_some(),
"expected managed network proxy config to be present"