From 4a9f0124336175a79169fb2c1f12b628ff45d72a Mon Sep 17 00:00:00 2001 From: canvrno-oai Date: Mon, 8 Jun 2026 12:33:42 -0700 Subject: [PATCH] Fix system proxy cache key lint --- codex-rs/codex-client/src/outbound_proxy.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/codex-rs/codex-client/src/outbound_proxy.rs b/codex-rs/codex-client/src/outbound_proxy.rs index 103b63b3e3..abfda68aea 100644 --- a/codex-rs/codex-client/src/outbound_proxy.rs +++ b/codex-rs/codex-client/src/outbound_proxy.rs @@ -731,11 +731,14 @@ mod tests { #[test] fn system_proxy_cache_key_preserves_url_specific_pac_decisions() { let request_url = "https://auth.openai.com/oauth/token?access_token=secret"; - let cache_key = system_proxy_cache_key(request_url, false); + let cache_key = system_proxy_cache_key(request_url, /*include_auto_detect*/ false); assert_ne!( cache_key, - system_proxy_cache_key("https://auth.openai.com/oauth/revoke", false) + system_proxy_cache_key( + "https://auth.openai.com/oauth/revoke", + /*include_auto_detect*/ false, + ) ); #[cfg(target_os = "windows")] assert!(!cache_key.contains(request_url));