Fix race conditions and improve error handling
Open 💬 2 comments Opened Jun 3, 2026 by Tornadoguy69
Summary
- Agent control subscription race condition: Check status before subscribing
- User shell timeout: Replace 1-hour timeout with
ExecExpiration::Cancellation - Sensitive pattern checking: Prevent saving API keys/tokens in history
- Audio queue capping: Cap output queue at ~5s to prevent playback overrun
Branch with changes: https://github.com/Tornadoguy69/codex/tree/fix/race-conditions-openai
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗