Files
CLIProxyAPI/internal/runtime/executor
Luis Pater 679166b87e fix(xai): evict ephemeral and 24h idle websocket ID states
- Evict non-reusable ephemeral xAI websocket ID states when their last in-flight stream ends, while preserving explicit session states from options or request metadata.
- Add 24-hour idle TTL expiration with periodic background cleanup and in-flight protection to xaiWebsocketIDStateStore without bounding total entry count.
- Coordinate persistent session and ID state acquisition and teardown under store.mu so CloseExecutionSession and bulk shutdown clear both stores atomically.

Closes: #7746
2026-11-22 03:31:21 +08:00
..