From c2a924fc4a3970198679d24c9fa5df5643af5041 Mon Sep 17 00:00:00 2001 From: sayan-oai Date: Fri, 18 Sep 2026 22:25:34 +0000 Subject: [PATCH] Fix stale environment config in the network approval test (#46560) Remove the obsolete `windows_sandbox_private_desktop` field from the `EnvironmentConfig` initializer in the active-turn environment fallback test so it matches the current struct definition. GitOrigin-RevId: 4441dc8ed3d4bfcd4c1de093e829c065d323f41a --- codex-rs/core/tests/suite/network_approval.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/codex-rs/core/tests/suite/network_approval.rs b/codex-rs/core/tests/suite/network_approval.rs index 3892b73ce1..a2ad0c1c29 100644 --- a/codex-rs/core/tests/suite/network_approval.rs +++ b/codex-rs/core/tests/suite/network_approval.rs @@ -1697,10 +1697,6 @@ async fn unattributed_network_request_uses_active_turn_environment_fallback( .clone(), windows_sandbox_level: WindowsSandboxLevel::from_config(&test.config), windows_sandbox_type: test.config.permissions.windows_sandbox_type, - windows_sandbox_private_desktop: test - .config - .permissions - .windows_sandbox_private_desktop, use_legacy_landlock: test.config.features.use_legacy_landlock(), exec_policy: None, mcp_policy: None,