codex: fix CI failure on PR #31688

This commit is contained in:
Tom Wiltzius
2026-07-09 10:23:53 -07:00
parent 34abe798b6
commit 2e4bb9bc5a
+5 -3
View File
@@ -657,9 +657,11 @@ async fn create_seatbelt_args_merges_proxy_and_explicit_unix_socket_paths() -> a
);
let network_socket = "/tmp/codex-proxy-use";
let explicit_socket = "/tmp/codex-browser-use";
let mut network_config = NetworkProxyConfig::default();
network_config.enabled = true;
network_config.mode = NetworkMode::Full;
let mut network_config = NetworkProxyConfig {
enabled: true,
mode: NetworkMode::Full,
..Default::default()
};
network_config.set_allow_unix_sockets(vec![network_socket.to_string()]);
let state = build_config_state(network_config, NetworkProxyConstraints::default())?;
let network_proxy = NetworkProxy::builder()