mirror of
https://github.com/openai/codex.git
synced 2026-10-30 19:18:49 +00:00
Skip background workspace routing reads without ChatGPT auth (#52635)
## Why Background workspace routing reads reload configuration even when signed out or using an API key, although routing requires ChatGPT authentication. ## What changed Check cached authentication before reading accounts for workspace routing at app-server startup and connection initialization. Skip these background reads without ChatGPT authentication, while preserving configuration reloads for explicit `account/read` requests. ## Testing Add regression tests covering signed-out and API-key startup and connection initialization, explicit `account/read` configuration reloads, and routing after ChatGPT sign-in, including propagation of configuration errors. GitOrigin-RevId: 8b90ee609ed24f8618cd21f160eb7001703b8bd1
This commit is contained in:
@@ -1917,3 +1917,7 @@ mod gateway_oauth_tests;
|
||||
#[cfg(test)]
|
||||
#[path = "message_processor_thread_lifecycle_tests.rs"]
|
||||
mod thread_lifecycle_tests;
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "message_processor_workspace_routing_tests.rs"]
|
||||
mod workspace_routing_tests;
|
||||
|
||||
Reference in New Issue
Block a user