Wire Windows sandbox selection into managed proxy routing (#45757)

## What changed

- Track the Windows sandbox implementation separately from its legacy setup level.
- Select dedicated proxy listeners for `WindowsMxc` on Windows across sessions, app-server command execution, and the sandbox CLI.
- Rebuild the session proxy when routing changes, retaining its network policy decider.
- Add a sandbox CLI execution path through the MXC sandbox transform when `WindowsMxc` is selected.

## Testing

Extend configuration assertions for the selected sandbox type and the session refresh test to verify dedicated routing and policy decider retention on Windows.

GitOrigin-RevId: 2a22192636c542022ec81a378a16c1bb6867e145
This commit is contained in:
iceweasel-oai
2026-09-15 18:41:13 +00:00
committed by copyberry
parent af1fc2dbff
commit a5c15ab5c0
14 changed files with 185 additions and 18 deletions
+4
View File
@@ -881,6 +881,10 @@ impl NetworkProxy {
self.http_addr
}
pub fn managed_proxy_routing(&self) -> ManagedProxyRouting {
self.managed_proxy_routing
}
pub fn socks_addr(&self) -> SocketAddr {
#[cfg(target_os = "windows")]
if let Some(runtime) = self.windows_runtime.as_ref() {