Description
What version of the IDE extension are you using?
26.928.31416 (bundled codex-cli 0.159.2). Regression from 26.917.62051.
What subscription do you have?
Pro
Which IDE are you using?
VS Code 1.140.0 (stable), Remote - WSL
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64 WSL2 (extension host): Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64, Ubuntu 24.04.5 LTS
What issue are you seeing?
With two VS Code windows open, the Codex panel in the second window answers the first prompt. Every prompt after that is silently queued: it doesn't appear in the panel, no turn starts, and nothing reaches the app-server. The first window keeps working normally. Reload Window and New Chat don't help. Closing and reopening the second window lets one more prompt through, then it stalls again.
The first prompt in the failing window logs a lock-release failure (from exthostN/openai.chatgpt/Codex.log):
2026-10-01 14:14:44.800 [warning] [IpcClient] Received broadcast but no handler is configured method=thread-queued-followups-changed
2026-10-01 14:14:44.807 [warning] Failed to release queued message send lock conversationId=01a0f607-742f-7e33-baad-1d1a82a875cf errorMessage="\"undefined\" is not valid JSON" errorName=SyntaxError
at JSON.parse (<anonymous>)
at e.onFetchResponse (.../openai.chatgpt-26.928.31416-linux-x64/webview/assets/app-initial-4bd9e54bcd58.js:3:1518)
at .../app-initial-4bd9e54bcd58.js:3:1232
at e.deliverMessage (.../app-initial-4bd9e54bcd58.js:2:41074)
at e.deliverOrBufferMessage (.../app-initial-4bd9e54bcd58.js:2:41583)
at e.handleMessage (.../app-initial-4bd9e54bcd58.js:2:41652)
at windowMessageListener (.../app-initial-4bd9e54bcd58.js:2:40734)
Each later prompt in that window logs only this, with no turn start, request, or error after it:
2026-10-01 14:27:16.343 [warning] [IpcClient] Received broadcast but no handler is configured method=query-cache-invalidate
2026-10-01 14:27:16.343 [warning] [IpcClient] Received broadcast but no handler is configured method=thread-queued-followups-changed
2026-10-01 14:28:50.410 [warning] [IpcClient] Received broadcast but no handler is configured method=query-cache-invalidate
2026-10-01 14:28:50.410 [warning] [IpcClient] Received broadcast but no handler is configured method=thread-queued-followups-changed
The same pattern repeats in four separate second-window sessions on the same day.
What steps can reproduce the bug?
- On Windows, open VS Code connected to WSL and use the Codex panel. This first window works.
- With the first window still open, open a second VS Code window (also WSL).
- In the second window, open the Codex panel and send a prompt. You get a response.
- Send another prompt in the same thread, or after starting a new chat. It never appears and gets no response.
No code snippet is needed. Any prompt reproduces it. Possibly relevant config: [features] multi_agent = true in ~/.codex/config.toml.
What is the expected behavior?
Follow-up prompts in the second window appear in the panel and get a response, the same as in the first window and as in 26.917.62051.
Additional information
Regression timing: the extension auto-updated 26.917.62051 → 26.928.31416 at 2026-10-01 07:51:35 (remoteagent.log: "Marked extension as removed openai.chatgpt-26.917.62051"). The first "Failed to release queued message send lock" appears at 08:06. None of the logs from 2026-09-24 through the update contain this error or any thread-queued-followups-changed events.
Analysis:
- Follow-ups go into the queued-follow-ups path. The send-lock response comes back with an undefined body, JSON.parse("undefined") throws in onFetchResponse, so the lock is never released and the queue never drains. ~/.codex/queue_1.sqlite has no rows in queued_items, so the stuck queue is held in memory only.
- Likely (not confirmed): the first window creates ~/.codex/ipc/ipc.sock, and later windows connect to it as IPC clients. Those windows log "Received broadcast but no handler is configured" for thread-queued-followups-changed, thread-stream-following-changed and thread-stream-following-status-requested. My guess is that the lock request is routed over IPC to the first window, which has no handler and returns undefined. The first window logged the same lock error twice but kept working, which fits it owning the socket.
- Probably unrelated, because they also appear in the working window: expired OAuth for one MCP server, no Secret Service keyring in WSL, 403s from /subscriptions and /accounts/optimized/check, and 404s from /tbo/primary. The "Received turn/started for unknown conversation" and "Conversation state not found" errors appear only in the working first window.
Possible fix: treat an empty or undefined lock response as a failure (release the lock or send directly) instead of throwing in onFetchResponse, and make sure IPC-client windows handle the queued-follow-up and thread-following messages.
Activity
github-actions commentedon Oct 1, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action