mirror of
https://github.com/openai/codex.git
synced 2026-09-04 15:08:45 +00:00
## Why Opening Guardian's initial WebSocket connections can be delayed, but thread startup and resume do not need to wait for those connections. ## What changed - Install the Guardian sampler and related thread state before opening its initial connections. - Prewarm the sampler's WebSocket pool in a background task while retaining the existing on-demand connection behavior. ## Testing - Verify extension startup returns before a delayed WebSocket handshake completes, then warms the full initial connection pool. - Verify resuming a thread likewise returns before Guardian's delayed handshake completes. GitOrigin-RevId: 58c91cf045b223f917c67d7e8dc82eac529db4ce