From 60743d21f836c2a25403de69860bcf3b358ee5d7 Mon Sep 17 00:00:00 2001 From: Adam Perry Date: Tue, 7 Jul 2026 00:19:03 +0000 Subject: [PATCH] test: skip Guardian attribution checks under bwrap --- codex-rs/core/tests/suite/network_approval.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/codex-rs/core/tests/suite/network_approval.rs b/codex-rs/core/tests/suite/network_approval.rs index 9d11799814..6f80ff9b78 100644 --- a/codex-rs/core/tests/suite/network_approval.rs +++ b/codex-rs/core/tests/suite/network_approval.rs @@ -64,6 +64,11 @@ const NETWORK_TEST_TARGET: &str = "http://codex-network-test.invalid:80"; ignore = "requires the trusted Linux proxy bridge" )] async fn guardian_receives_exact_triggers_for_concurrent_network_requests() -> Result<()> { + // TODO(anp): Propagate managed-network execution attribution through exec-server. + skip_if_bwrap_exec!( + Ok(()), + "exact Guardian attribution is not forwarded through remote exec-server" + ); skip_if_target_windows!(Ok(()), "uses the POSIX/Python network fixture"); skip_if_host_windows!(Ok(())); skip_if_no_network!(Ok(())); @@ -181,6 +186,11 @@ async fn guardian_receives_exact_triggers_for_concurrent_network_requests() -> R ignore = "requires the trusted Linux proxy bridge" )] async fn guardian_receives_exact_trigger_for_single_network_request() -> Result<()> { + // TODO(anp): Propagate managed-network execution attribution through exec-server. + skip_if_bwrap_exec!( + Ok(()), + "exact Guardian attribution is not forwarded through remote exec-server" + ); skip_if_target_windows!(Ok(()), "uses the POSIX/Python network fixture"); skip_if_host_windows!(Ok(())); skip_if_no_network!(Ok(()));