mirror of
https://github.com/openai/codex.git
synced 2026-11-13 21:30:47 +00:00
## Why An in-flight `ThreadList` request can block the cloud worker from processing subsequent requests even after its caller drops it. ## What changed Skip queued `ThreadList` requests whose response receiver is closed, and cancel in-flight list handling when the receiver closes. Thread listing has no conversation state to commit, so the worker can safely move on to the next command. ## Testing Add a regression test that holds a list RPC open, drops the caller's request, and verifies that a subsequent `GetAccount` request completes before the list RPC is released. GitOrigin-RevId: 7c74e3305d58b85224d9882ea7e24b1ae791ec52