Repository navigation
Description
What version of the IDE extension are you using?
openai.chatgpt 26.930.21537 (win32-x64)
What subscription do you have?
pro
Which IDE are you using?
VS Code
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Messages I send in the Codex panel frequently disappear without a response. There's no error in the UI and no visible indication that the message is queued. Sometimes the message is picked up much later (up to ~1 hour) and Codex starts working on it unprompted. Re-sending the message sometimes works.
The Output log (Codex channel) shows the queued-message send lock failing to release after a send:
2026-10-02 11:52:07.698 [warning] Failed to release queued message send lock conversationId=01a0fde5-50f0-7020-8bdf-7d1113a996e7 errorMessage="\"undefined\" is not valid JSON" errorName=SyntaxError errorStack="SyntaxError: \"undefined\" is not valid JSON
at JSON.parse (<anonymous>)
at e.onFetchResponse (.../openai.chatgpt-26.930.21537-win32-x64/webview/assets/app-initial-4a6aff8486cb.js:3:1518)
at .../app-initial-4a6aff8486cb.js:3:1232
at e.deliverMessage (.../app-initial-4a6aff8486cb.js:2:41979)
at e.deliverOrBufferMessage (.../app-initial-4a6aff8486cb.js:2:42488)
at e.handleMessage (.../app-initial-4a6aff8486cb.js:2:42557)
at windowMessageListener (.../app-initial-4a6aff8486cb.js:2:41639)"
It looks like the response handler gets undefined instead of a JSON body, JSON.parse throws, and the lock is never released. Later messages then wait in the follow-up queue until something else clears the lock.
Around the failure there are repeated IPC warnings about queue and cache state updates with no handler, which may be why the UI never shows the message as queued:
[warning] [IpcClient] Received broadcast but no handler is configured method=thread-queued-followups-changed
[warning] [IpcClient] Received broadcast but no handler is configured method=query-cache-invalidate
[warning] [IpcClient] Received broadcast but no handler is configured method=thread-read-state-changed
There are no network, timeout, or reconnect errors in the log, so this doesn't appear to be connectivity related.
What steps can reproduce the bug?
Intermittent, but it happens frequently in normal use:
- Open the Codex panel in VS Code on Windows.
- Have a conversation with several back-and-forth messages, sometimes sending while a turn is finishing.
- At some point a sent message gets no response. The Output log shows the send-lock error above.
What is the expected behavior?
Messages should send immediately, or show a visible "queued" state and a clear error if delivery fails. A failed lock release shouldn't block later messages. If the response body is missing, the handler should release the lock rather than throw.
Additional information
- Possibly related: Title: Steer messages repeatedly fail during an active Codex task #36192, codex freezes when queued message is reached/begun, with multiple windows open. #18810 (queued-message delivery failures in the desktop app)
- The
fs/getMetadata"cannot find the path/file specified (os error 2/3)" errors appear in the same log, but they resolve in ~10–20ms and seem unrelated. - Workaround:
Developer: Reload Windowseems to clear the stuck state. Although sometimes it doesn't fix completely and shows a message like "this chat is open elsewhere" - Full log excerpt available on request.
Activity
github-actions commentedon Oct 2, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
allfollowme1878 commentedon Oct 2, 2026
Additional affected environment on Linux with the same extension version and matching error.
Environment
openai.chatgpt): 26.930.21537Symptoms
Messages intermittently get stuck during ongoing coding conversations. The user repeats sends because there is no timely response. A different chat initially seemed fine, but the problem later recurred there too. Longer conversations are a suspected factor, but that relationship is not established. We do not yet have a deterministic minimal reproduction or evidence that repeated messages were automatically replayed.
Local log evidence
Across 10 Codex extension log files dated October 2, there are 56
Failed to release queued message send lockwarnings, each accompanied by the"undefined" is not valid JSONexception. There are also 164thread-queued-followups-changedbroadcasts reporting that no handler is configured. These counts describe log entries, not the number of lost or stuck messages.Sanitized excerpts (conversation IDs and local home paths omitted):
Expected behavior: sends should be delivered promptly or have a clear queued/error status without requiring repeated submission. The matching exception is confirmed locally; its causal relationship to the stuck sends is not yet established. This provides an additional Linux case for the issue currently labeled
windows-os.Xavier4492 commentedon Oct 2, 2026
I reproduced this send freeze on Linux with the same extension version and captured an additional causal mechanism. The JSON warning is present, but in my reproduction the host has already released the lock before the empty response triggers the JSON parse error. The queue stall is caused by an already accepted message being restored from stale storage, followed by a lock-before-reconciliation deadlock.
Environment and reproduction
openai.chatgpt26.930.21537, linux-x64; Ubuntu 24.04.5, kernel 7.0.0-38-generic.codex-cli 0.159.0-alpha.12.1.turn/startor an active engine request.This occurred during normal UI sends; the original reproductions did not inject a stale storage event. I subsequently used observation-only instrumentation to trace storage and lock calls. This does not establish that GPT-6.1 is the cause or that other models are unaffected.
Captured causal sequence
wasMessageAccepted(thread, A.id)is true.queued-follow-ups; fresh extension-host reads confirm the test-thread queue is empty.submission.status = "sending".Storage.acceptExternal, the local cache already contains the newer empty queue andpendingInsertsstill contains that newer empty write. Nevertheless, the older value replaces the cache and propagates throughMainThreadStorageandExtHostStorage.$acceptValueinto the extension memento.acquireSendLock(A.id)before reconciling A against the known acceptance receipt.Sanitized timing from the final cycle on October 2, 2026, UTC+02:00:
external=truedoes not prove that another window wrote the value. The renderer storage IPC path can echo a delayed change back to its originating client. Likewise, a resolved memento update is not proof that SQLite has finished flushing.Causal intervention, repeated twice
In test conversations only, I removed just the stale, already accepted head, preserving the pending successor. The successor immediately started without resubmitting its prompt. In the first measured intervention it started 410 ms after the removal and completed about three seconds later. The same restoration and blockage then recurred with the next accepted head; the same narrowly scoped intervention released its successor.
A second cleanup fragility is visible in the bundled coordinator: accepted-message cleanup uses deep equality against the entire mutable message. I captured stored
pendingversus in-memorysending, with that status being the only difference. The cleanup predicate therefore retained the already accepted ID.Local correction and validation
The installed local workaround changes only the bundled queue coordinator (
EAninapp-initial-3a8f7fe2e714.js):pendingorqueued.It preserves ownership checks, lock acquisition for unaccepted messages, and existing error handling. It does not clear the whole queue or retry already accepted prompts.
Thirty-six focused tests execute the actual coordinator extracted from the original and modified assets. They reproduce the original blocked-head and cleanup failures, then verify the correction, stale snapshot reinsertion without duplicate send, unaccepted pending/sending/outcome-unknown messages, denied locks, follower/ownership changes, and failure before acceptance. All thirty-six pass, including direct-send admission revocation, a draft changing during preparation, start-lock contention, and release on failure. These tests use controlled storage/transport dependencies and are separate from the real UI reproductions above.
The receipt-reconciliation changes alone were insufficient: an initial staged UI series completed three messages, then the fourth became
outcome-unknownbefore any recorded model RPC. That candidate was not installed. A later instrumented series passing did not erase that failure.The final candidate, including the direct-idle path, completed 5/5 real UI messages with GPT-6.1 Sol / Max and automatic IDE context disabled, each with the exact requested response and no resubmission. All four follow-ups used the existing direct transport (
serializedStatus=null), with zero serialized queue-entry writes and an empty queue after every response. The browser-parsed asset matched the reviewed candidate SHA-25610c99797c66d9b6107f05866ffab8033dffe82e508cd0cec37d8586484745f83.A separate symptom remains: the VS Code memento can restore an old composer draft. The test driver replaced only known stale diagnostic draft text before entering a new prompt; it did not retry a dispatched prompt or remove an unconfirmed queued message. The local correction targets completed-turn follow-up sending and accepted-head recovery, not general shared-storage consistency. It is now installed locally with an original-file backup; existing windows need a reload to activate it.
The underlying storage ordering is also reported in microsoft/vscode#339391, including a reduced reproduction independent of Codex.
Direct tests against the same engine also accepted two successive turns with GPT-6.1, both with and without my completion hooks. The completion sound launches a detached process and was left unchanged. The engine tests do not by themselves validate another frontend as a workaround.
Recorded investigation usage
Snapshot: 2026-10-02T23:20:24.260855+02:00, covering this diagnostic conversation, its three investigating agents, and five persisted UI test conversations. Per-response usage records were deduplicated and reconciled against each thread's cumulative counters, including compaction exactly once.
This is recorded model processing for diagnosis, reproduction and repair, not a monetary estimate or evidence that rejected sends themselves incurred usage. Cached input and reasoning are subsets and are not added again. The original coding task and unrelated conversations are excluded. Three ephemeral engine-test sessions lacked retained usage counters and are excluded, not treated as zero. Usage after this timestamp is also excluded.
No private prompt text, project paths, authentication data, or user-session IDs are included in this report. The local fix is a version-specific workaround, not an official upstream release or a claim to fix every reported missing-message symptom.
SalehDadjouy commentedon Oct 2, 2026
Adding a macOS report with the same extension version and error. Matching symptoms do not establish an identical root cause.
Date: October 2, 2026
Environment
VS Code: 1.140.0
OpenAI Codex extension (openai.chatgpt): 26.930.21537
Installed extension package: darwin-x64
Operating system: macOS; exact OS version not collected.
Problem and impact
Prompts intermittently disappear when I press Send in the VS Code extension. I have to restart VS Code to send another prompt, and the problem recurs. This repeatedly interrupts ongoing work. I previously experienced similar symptoms in the ChatGPT desktop app, but this report concerns the VS Code extension.
Expected behavior
Pressing Send should submit the prompt, or display an actionable error while preserving the unsent text. Subsequent prompts should remain sendable without restarting VS Code.
Reported reproduction sequence
This sequence is the user's report, not a controlled reproduction. Whether a new conversation or a different network reproduces it has not been tested.
Verified log evidence
The installed version and existing local logs were inspected read-only. Logs from two VS Code sessions on October 2 repeatedly record:
Failed to release queued message send lock
errorMessage=""undefined" is not valid JSON" errorName=SyntaxError
The same conversation identifier appears in the selected send-lock failures; it has been removed from the shareable excerpts. The error appears in both the morning session and the session beginning at 16:03, so restarting did not eliminate its recurrence.
The logs also record HTTP 403 responses on account/subscription requests and errorCode=cloudflare_challenge. These are additional observations, not proof that Cloudflare caused the send failures. Repeated ResizeObserver errors also occur, but their relevance is unknown.
Assessment and request
The send-lock error is a plausible lead for the repeated inability to send. The logs alone do not prove that the lock remains held or establish the root cause. Please investigate the queued-message send-lock release and JSON-response handling, including whether failed requests leave the composer unable to submit another prompt.
Sanitized evidence
The excerpts below contain selected timestamps and error messages. Account IDs, conversation IDs, request IDs, local user paths and stack traces are omitted. No application documents, email content, credentials or full session transcripts are included.
No extension settings, caches, sessions or application files were changed during this inspection.
DebugMode1133 commentedon Oct 2, 2026
Additional Windows report, submitted at the affected user's explicit request. This repeatedly blocks their work, and they are asking OpenAI to prioritize an official correction and investigate the usage impact.
User impact and request
The user reports that after one message, subsequent messages become stuck in the queue and messages sometimes appear duplicated. They report this as their third recurrence, say working with the extension has become impractical, and report losing tokens while dealing with these technical failures. Reinstalling the extension did not resolve the problem.
Please:
The reported token loss has not been quantified or independently attributed to duplicate execution. No billing adjustment is assumed or promised. This request asks OpenAI to investigate that concern using its delivery and usage records.
Verified environment
Observed October 2, 2026, America/Sao_Paulo:
07f806f999227108933c2e30515b26eecc1fda74.openai.chatgpt 26.930.21537, win32-x64.codex-cli 0.159.0-alpha.12.1.chatgpt.followUpQueueMode: "steer".Sanitized local evidence and code findings
Recent extension logs repeatedly contain:
The unmodified installed bundle contains these defects:
bodyJsonString:JSON.stringify(o). For a void handler result, this is undefined; the actual webview parser callsJSON.parse(e.bodyJsonString)and rejects the success response.EAninapp-initial-3a8f7fe2e714.jsattemptsacquireSendLockbefore reconciling known acceptance receipts. A receipt-confirmed head can remain blocked if the deduplication lock denies acquisition.The JSON exception alone does not prove that the host failed to release the lock. The full causal sequence in this user's live UI was not instrumented. The queue findings are consistent with the separate investigation already posted in this issue, but this report does not claim its live reproduction as our own.
Local workaround and validation limits
An earlier local workaround for 26.928.40906 addressed only void JSON serialization. The current updated/reinstalled official bundle contained the original serializer again.
A new version-specific local workaround was installed with original-file backups and SHA-256 manifests:
37 focused checks passed, exit 0, executing the original/modified installed coordinator and actual response parser with controlled storage/transport dependencies. They reproduced the original blocked-head and status-rollback cleanup failures, verified post-send cleanup and one send/start-lock release, and exercised receipt/no-receipt cases, ownership loss, follower role, readiness, disposal, outcome-unknown retention, defined JSON responses and malformed JSON rejection. Whole-file syntax and installed/backup hashes were checked.
This is an unsupported local workaround, not an upstream fix. Real UI success after reload is still unverified. No direct-idle bypass or VS Code storage patch was applied. The prior external report notes that receipt reconciliation alone was insufficient in one of its UI series, so we are explicitly not claiming complete resolution.
No credentials, account identifiers, conversation IDs, private prompts, project paths/files, or full logs/transcripts are included.
RPdenBoer commentedon Oct 3, 2026
Anonymized follow-up: confirmed replay and stale queue state
Additional Windows VS Code evidence for this existing issue. The user continues to report stuck messages; switching to Steer also produced a user-reported disappearing message. No recovery is claimed.
VS Code: queued prompts stall and replay; message disappearance reported in Steer
This report contains anonymized technical observations only. Its companion is
support-evidence.json. These are the only two files prepared for sharing; other investigation files are private working material.Observed behavior
The user reports submitting a message once, seeing it remain queued after the agent finishes, and later seeing duplicate execution. Read-only local inspection initially confirmed 15 distinct client submission IDs each appearing in separate executed turns twice; the additional confirmed replay below raises the observed count to 16. Original identifiers are omitted; equality was checked locally, not inferred from repeated text.
In one incident, an earlier turn completed about 93 seconds after its message was queued. A genuinely new message was queued about 7 minutes 19 seconds after that origin. A later saved queue snapshot still marked both messages as pending, with the already completed submission first. The old submission replayed in another turn, and the new message was accepted after a wait of approximately 17 minutes 18 seconds. The snapshot time is derived from backup file modification time, not a queue-event receipt.
The investigation request itself also replayed: its first turn completed, then the same submission ID was accepted in another turn about 1.2 seconds later. The queue was empty at the following inspection. This does not establish that future recurrence is prevented.
After switching the follow-up mode to Steer, the user reports that another submitted message disappeared entirely. This is a user-reported symptom, not a verified delivery failure. The missing message contents and identifiers were not collected, and its relationship to the confirmed queue replay is unknown. Switching to Steer is therefore not established as an effective workaround for this user's overall delivery problem.
Expected behavior and reproduction context
A single submission should be accepted once, should not remain as a pending queue head after acceptance, and should not replay after completion or reload. New follow-ups should not wait behind an already accepted queue entry. A submitted message should remain visible with an explicit pending, accepted or failed outcome.
This occurred during an extended local Windows VS Code conversation with follow-up prompts. Some replayed submissions were accepted immediately after the preceding turn completed; another was accepted after an extension restart. A minimal reproduction has not been isolated. The aggregate observations and anonymized elapsed-time cases in the companion evidence are the available reproduction evidence.
Technical observations
Affected installed client: Codex VS Code extension 26.930.21537. Logs contained 54 queue-release JSON warnings in the initial inspected sample:
The installed release handler calls the lock-release routine and returns no response value. The local response adapter serializes this undefined result; the client then attempts to parse it as JSON. This explains the warning. The release side effect precedes parsing, so this warning alone does not demonstrate a stuck lock or explain every delayed message.
The inspected local sent-message guard retains successful submission keys for 10 minutes in memory, while active locks expire after 2 minutes. That guard alone cannot prevent persistent stale queue entries from replaying after expiry or an extension restart. Other client safeguards exist; the exact reconciliation path that failed is not established.
Requested engineering investigation
Investigate removal and reconciliation of accepted entries in persistent queue state, particularly after completion, reload and ownership changes. Verify durable idempotency for submission IDs, independent of an expiring in-memory guard. Return a JSON-safe acknowledgment from the lock-release handler. Cover accepted queue heads, delayed acknowledgments, long turns, reload and concurrent clients with regression tests.
No live application state was changed by the investigator, and no fix is claimed.
Privacy and sharing boundary
This report and its companion omit prompt contents and hashes, original conversation/submission/turn/item IDs, usernames, personal and account details, local paths, repository/project information, screenshots, raw logs, stack traces, exact dates, wall-clock times and timezone. Report-local labels and elapsed timings preserve the relationships needed to describe the fault.
Do not attach the investigation directory, full session, original databases, screenshots or raw logs. An in-product submission can add account or session metadata independently of these files; do not select any option to include the conversation. If original correlation IDs are requested later, review that request separately before sharing them.
Additional confirmed replay
A privacy-audit request also appeared in two distinct turns with the same submission ID, independently of the earlier cases. The repeat was accepted approximately 246.1 seconds after the first turn completed. This raises the observed count to 16 distinct repeated submissions. Original identifiers and message content are omitted.
Anonymized machine-readable evidence (elapsed timings only)
{ "privacy": { "scope": "Anonymized metadata only; original identifiers omitted", "labels": "Arbitrary report-local labels; original identifiers are omitted", "time": "Elapsed milliseconds only; dates, clock times and timezone omitted", "excluded": [ "Credentials and tokens", "Account and personal identifiers", "Conversation, turn, item and client submission identifiers", "Prompt text and prompt hashes", "Transcripts and screenshots", "Usernames, local paths, repository and project information", "Raw logs, stack traces, headers and unrelated errors" ] }, "client": { "product": "Codex VS Code extension", "extension_version": "26.930.21537" }, "findings": { "distinct_repeated_submission_ids_initial": 14, "distinct_repeated_submission_ids_after_followup": 16, "same_id_observed_across_distinct_turns": true, "queue_release_json_error_count_initial": 54, "queue_empty_at_previous_inspection": true }, "user_reported_symptoms": [ { "mode": "steer", "symptom": "A submitted message disappeared after switching to Steer", "verification": "User report only; message contents and identifiers were not collected; cause and relation to queue replay are unverified" }, { "symptom": "Messages continue to get stuck in the queue", "verification": "Latest user report; no new private prompts or identifiers collected; no fresh delivery trace claimed" } ], "case_a": { "description": "An accepted queue head remained pending and replayed before a new message was accepted", "events": [ { "elapsed_ms": 0, "message": "A", "event": "queue creation" }, { "elapsed_ms": 365, "message": "A", "event": "first acceptance", "turn": "A1" }, { "elapsed_ms": 92857, "message": "A", "event": "first turn completed; timestamp has second precision", "turn": "A1" }, { "elapsed_ms": 439662, "message": "B", "event": "new message queue creation" }, { "elapsed_ms": 935732, "message": "A and B", "event": "saved queue backup contains both as pending; file modification time is a snapshot proxy" }, { "elapsed_ms": 1430333, "message": "A", "event": "same submission accepted again", "turn": "A2" }, { "elapsed_ms": 1477410, "message": "B", "event": "first acceptance" } ], "new_message_wait_ms": 1037748 }, "case_b": { "description": "The diagnostic request itself replayed after its completed turn", "events": [ { "elapsed_ms": 0, "message": "C", "event": "first acceptance", "turn": "C1" }, { "elapsed_ms": 824813, "message": "C", "event": "first turn completed; timestamp has second precision", "turn": "C1" }, { "elapsed_ms": 825979, "message": "C", "event": "same submission accepted again", "turn": "C2" } ] }, "code_observations": { "release_handler_has_no_return_value": true, "adapter_serializes_return_value_as_json": true, "client_parses_missing_body_as_json": true, "release_side_effect_precedes_response_parse_error": true, "local_sent_message_guard_retention_seconds": 600, "local_active_lock_expiry_seconds": 120 }, "limits": [ "The exact path retaining accepted entries as pending has not been established", "The JSON warning alone does not prove an unreleased lock", "No client fix, queue edit, restart or update was performed by the investigator", "Original correlation IDs remain local; this anonymized evidence cannot locate server-side records" ], "case_c": { "description": "A privacy-audit request replayed without manual resubmission", "same_client_submission_id_in_distinct_turns": true, "events": [ { "elapsed_ms": 0, "message": "D", "event": "first acceptance", "turn": "D1" }, { "elapsed_ms": 429509, "message": "D", "event": "same submission accepted again", "turn": "D2" } ], "first_turn_completed_elapsed_ms": 183388, "distinct_from_prior_observed_replays": true } }DebugMode1133 commentedon Oct 3, 2026
Follow-up from the same affected Windows user: the problem persists before and after the extension update, and the user has now clarified a more specific trigger.
Important reproduction clarification: mouse focus on an EMPTY composer
The user explicitly clarified that "clicking the chat" means clicking inside the message-input box.
Reported sequence:
The user's configured mode is Steer, not Queue. Their local VS Code setting was verified as
chatgpt.followUpQueueMode: "steer". This is a user-reported mouse/UI reproduction, not a controlled capture. We have not determined whether this is a fresh duplicate submission, replay of a previously pending entry, or a draft/visual-state discrepancy.Further user clarification: opening a conversation can trigger apparent replay
The user subsequently reported that simply opening an existing conversation sometimes resubmits its last message, without clicking in the composer, typing anything, pressing Enter, or intentionally sending anything. This broadens the reported trigger beyond mouse focus: please also investigate thread opening/resume/visibility transitions and automatic recovery of queued state.
The user then reported another message becoming stuck immediately. A user-supplied screenshot shows a pending follow-up chip with a spinner above the composer and another message present in the input box. This confirms the visible pending UI state, not whether the engine accepted or executed either message.
The user reports that they had to reload VS Code to get the preceding messages through. Reload is therefore an operational recovery step they needed, not a verified fix; the issue continues to disrupt work.
These are additional user observations, not an instrumented reproduction. We still cannot distinguish a new submission from replay of an old pending entry or a stale UI/draft presentation. Please prioritize preventing unintended execution when a conversation is merely opened, as well as restoring reliable intentional sends. The screenshot is not uploaded here because it includes unrelated editor/project UI; this sanitized description contains the relevant evidence.
Verified update and current evidence
openai.chatgpt 26.930.31428, win32-x64.codex-cli 0.160.0.bodyJsonString:JSON.stringify(o)for internal responses.Timestamps above are reproduced as logged (America/Sao_Paulo); conversation identifiers and local paths are omitted. These warnings do not establish the cause of the mouse-triggered resend.
The previous local workaround and 37 controlled checks did not validate mouse-focus handling, composer draft synchronization, or real UI behavior. The user reports that the behavior continued before this update as well. Please do not treat the earlier workaround as a confirmed end-to-end resolution.
Request to maintainers
Please prioritize investigation of composer focus/visibility handlers, stale-draft restoration, automatic queued-message replay, and submission authorization/idempotency. Focusing an empty input box should not authorize execution of the last message. A visible empty composer must agree with the actual submission state.
This remains disruptive to the user's work. The earlier request to review avoidable usage/quota impact remains in force; no attributable token quantity has been measured locally. No new speculative extension patch was applied in this follow-up.
No private prompts, project files, credentials, account IDs, or conversation IDs are included.
IveSan83 commentedon Oct 3, 2026
I published a Windows x64 queue repair and reproducible tests for openai.chatgpt 26.930.31428:
https://github.com/IveSan83/codex-vscode-queue-repair
Download: https://github.com/IveSan83/codex-vscode-queue-repair/releases/tag/v2.1.0
It combines a separate atomic revisioned journal, concurrent-writer protection, durable retired IDs, positive receipt reconciliation and void JSON response normalization. Queue and Steer remain available. Validation includes 76 tests in each of Node and VS Code's Electron/Node runtime, 180 two-window stress cycles per runtime, and checks of the completed VSIX's file inventory and actual module imports.
This is a version-pinned independent repair with headless tests and controlled transport. Live UI/model delivery and separate composer/network/server defects remain outside that verification. Requirements and the sanitized results are included in the release.
Detailed findings: #49834 (comment)
Repair author: IveSan83.
nproctor-dev commentedon Oct 3, 2026
Additional live reproduction on Linux, including the newer 26.930.31730 build.
Environment
openai.chatgpt: 26.930.31730Symptoms
Live capture while hung
The Codex process was still alive (
S, waiting infutex_do_wait) with 42 threads and multiple established TLS connections.code --statuscompleted normally; system memory/load were healthy. This did not look like a process crash, OOM, or connectivity loss.The current
26.930.31730Codex log showed the same queue-lock failure as the original report:Immediately around the lock-release failure there was also a burst of interactive filesystem metadata calls failing with:
and repeated unhandled
thread-queued-followups-changedbroadcasts.A separate log event shortly before one replay/hang showed:
followed by more
thread-queued-followups-changedbroadcasts and another failed queued-message lock release.Version comparison / workaround
The machine had previously reproduced the same send-lock failure on 26.930.31428 (and older 26.930 builds). VS Code auto-updated to 26.930.31730 during troubleshooting, but the bug reproduced again live on 31730.
I downgraded only
openai.chatgptto 26.917.62051 and explicitly selected that version in the VS Code UI so it remains pinned. The currently running app-server is confirmed to come from the 26.917.62051 extension path.openai.codex-audiowas left on 26.930.31730. Testing the pinned older build now.Sanitized report: no prompt contents, account IDs, conversation IDs, local project paths, or endpoint IPs included.
petterip commentedon Oct 3, 2026
Same here. Queued message sending fails and the send state never recovers cleanly, so later prompts can disappear or remain blocked. Rolling back helps, but 26.917.62051 lacks GPT-6.1 Sol support. Waiting for a fix.
Arctic-Xiangjian commentedon Oct 3, 2026
SAME for me
4 remaining items
RLeithold commentedon Oct 3, 2026
Follow-up to my earlier report: rolling back to openai.chatgpt 26.917.62051 worked for me on Windows / VS Code. I am using GPT-6 Astra, and it is working normally after the rollback.
I installed the version with:
Then I reopened VS Code. Local checks confirmed that the selected extension version and the running bundled
codex.exeboth come from 26.917.62051. The extension is also pinned (pinned: true) to prevent automatic updates during this workaround.I am not using GPT-6.1 Sol, so the reported lack of Sol support in this version does not affect my current workflow. This confirms a working workaround for my current GPT-6 Astra usage; it is not yet a long-term stability test or a claim that the underlying bug is fixed. This result applies to the device checked after the rollback; I have not confirmed the rollback result on the second device mentioned in my earlier report.
roomkangali commentedon Oct 3, 2026
I’m seeing what appears to be the same issue on Ubuntu 24.04 Desktop / Linux, not Windows.
Environment
Symptoms
This makes it look like a recurring queued-message / send-lock / webview state issue rather than a network or model problem.
The workaround described in this issue — Developer: Reload Window — matches my case exactly, but only fixes it temporarily.
ervhint commentedon Oct 3, 2026
I’m also experiencing this problem in the Codex VS Code extension. After an assistant reply finishes, my next message can remain queued above the composer with a spinner instead of being processed. It happens repeatedly and in more than one conversation.
Changing Follow Up Queue Mode from
queuetosteerdid not resolve it. Please count this as another affected-user report.Expected behavior: once a reply has finished, the next message should be processed, or the extension should show a recoverable delivery error.
ZombieOz commentedon Oct 3, 2026
I can reproduce a closely related stuck follow-up queue issue across multiple independent environments.
Observed behavior:
This is not isolated to one repository or one machine. I have reproduced the same behavior on:
That cross-environment pattern makes this look like a general extension/UI queue-state problem rather than repository-specific state.
The symptom matches the queue/send-lock state described in this issue: the completed turn appears done to the user, while the follow-up remains stuck as if the previous turn were still active.
I can provide additional screenshots/version details if useful.
Biggur63 commentedon Oct 3, 2026
Additional report on Windows x64 / VS Code, still occurring with openai.chatgpt 26.930.31730 (bundled CLI 0.160.0, verified with --version), using GPT-6.1 Sol.
User-visible behavior
chatgpt.followUpQueueMode: "steer"confirmed in VS Code user settings, submitting a follow-up while the preceding task is still running intermittently either:Verified local execution-history evidence
On 2026-10-03 (UTC), one identical user input was recorded at 16:04:48.185 and again at 16:20:08.654, with task completions at 16:08:14.162 and 16:21:52.679. The two assistant answers are distinct. Another consecutive identical input appears at 05:55:39.084 and 06:13:47.331. Thus repeated input exists in the execution history; this is not only duplicate rendering of an assistant answer. These records alone do not distinguish automatic replay from manual resubmission.
Repeated diagnostic
Also repeated:
Important qualification about the apparent lock failure
Read-only inspection of the shipped 26.930.31730 JavaScript suggests a concrete empty-response serialization defect:
queued-follow-up-send-lock-releasecalls the release routine but returns no value.bodyJsonString: JSON.stringify(result).JSON.parse(response.bodyJsonString), which rejects for undefined.The release routine is called before response parsing fails. Therefore this warning alone does not establish that the lock remains held, and fixing the serialization cannot yet be claimed to fix indefinite queuing/replay. Please investigate the queue/steer delivery, acknowledgement, and reconciliation path in addition to this defect.
No controlled model comparison was performed; there is no evidence here establishing a GPT-6.1 model-specific cause. No extension or session files were modified for this investigation. Raw chat content, credentials, account/thread IDs and personal filesystem paths are omitted.
minaazer commentedon Oct 3, 2026
I’m experiencing the same issue on Windows with extension version
26.930.31730, so it persists beyond 26.930.21537.
Approximately every other prompt gets stuck above the input with
a greyed-out trash button and spinner. The chat becomes unresponsive,
while the rest of VS Code works normally.
Developer: Reload Window automatically sends the pending prompt.
Disabling/re-enabling, signing out/in, and switching to a phone
hotspot did not resolve it.
My logs show:
Failed to release queued message send lock
"undefined" is not valid JSON
srinut75-max commentedon Oct 3, 2026
Additional reproduction on macOS / Apple Silicon with VS Code, using Codex extension openai.chatgpt 26.930.31730 (darwin-arm64), observed October 3, 2026.
Impact: follow-up questions stop reaching the conversation and do not reliably appear in the visible queue. Reopening/reloading temporarily restores sending, but the problem returns during continued use. This repeatedly interrupts normal development work. Please prioritize investigation and a fix as soon as possible.
Read-only inspection of local Codex extension logs confirmed the following error repeatedly, including in the affected conversation before and after reopening:
Occurrences for the affected conversation included 12:20:28, 12:24:24, 12:26:27, and 12:29:59 local time (America/New_York). The same error also occurred in other conversations. Nearby warnings included:
When inspected, the accessible saved history ended at an already-completed turn and did not include the user's subsequently submitted follow-up. This strongly suggests an extension message-handling/state problem, but the lock warning has not been established as the sole root cause.
Reproduction pattern: open a Codex chat in VS Code, exchange messages, submit follow-ups until sending stalls, reopen/reload, observe temporary recovery followed by recurrence. The user has attempted reopening multiple times. A version switch was subsequently attempted; the selected version and outcome have not been verified.
Please investigate follow-up dispatch and queue/turn state synchronization, and provide an actionable delivery error rather than silently stalling. This report intentionally excludes chat contents, account identifiers, conversation identifiers, and local filesystem paths.
srinut75-max commentedon Oct 3, 2026
Follow-up to the macOS/Apple Silicon reproduction above: the issue recurred after switching versions. The currently installed extension is 26.5928.31416 (darwin-arm64), and the most recent send-lock error's stack trace explicitly points to that version, confirming this is not just an old installation's log.
On October 3, 2026 at 16:54:38 America/New_York, the extension again logged
Failed to release queued message send lockwithSyntaxError: "undefined" is not valid JSON. Repeatedthread-queued-followups-changedbroadcasts with no configured handler continued afterward. The user reports sending is stuck again. The latest accessible conversation turn was completed, with no recorded turn error.The version switch did not resolve the reported symptom. Please include 26.5928.31416 on macOS arm64 in the investigation and prioritize a fix; repeated reloads provide only temporary relief. These observations establish recurrence of the error and symptom, not definitive causation.
davidreynolds353 commentedon Oct 3, 2026
Urgent field report: queued follow-ups detached from backend queue and persisted across reboot
I am seeing the exact failure reported here on Windows 11:
This is causing a serious conversation-liveness and potential message-loss/replay problem.
Environment
07f806f999227108933c2e30515b26eecc1fda74openai.chatgpt 26.930.31730(win32-x64)codex-cli 0.160.0Observed behavior and timeline
latestTurnStatus=completed markedStreaming=true, but all four follow-ups remained stuck.Preserved state proves a queue mismatch
A read-only forensic capture was taken before any reset, reinstall, cache clearing, queue editing, or recovery attempt:
openai.chatgptstate contains four queued follow-ups for the affected thread.outcome-unknown, paused assubmission-outcome-unknown.pending.queue_1.sqlitepassesPRAGMA integrity_check, butqueued_itemscontains zero rows.queued_thread_revisionsat revision 84.This looks like the webview-persisted queue and send lock becoming detached from the extension/app-server queue.
Evidence against a general outage or corrupt database
authenticatedAccountPresent=true authMethod=chatgpt hasEverErrored=false result=succeededThere were secondary
403 cloudflare_challengemetadata responses and a/tbo/primary404, but these also appeared during successful turns, so they do not explain the persistent thread-specific queue by themselves.Related issues
Requested engineering action
Please treat this as urgent because users cannot know whether a message is unsent, lost, or could later replay.
Please investigate:
undefinedto a path that unconditionally invokesJSON.parsewhile releasing the queued-message send lock.queue_1.sqlite.I have preserved a 348 MB evidence bundle containing original pre/post-reboot logs, consistent SQLite snapshots, the affected rollout, extension metadata, and SHA-256 hashes. It contains private conversation data and will not be posted publicly. OpenAI staff: please provide a secure upload route or identify the minimal artifacts needed.
voshart commentedon Oct 3, 2026
WSL2 (Windows VS Code + Ubuntu remote), 26.930.31730 and prerelease 26.5928.31416, gpt-6.1-sol and gpt-6-astra. Also reproduces on a separate native Ubuntu machine. About 2 in 3 sends lost over ~2 days, in streaks.
Two observations that may help separate symptom from cause:
Codex.log,Failed to release queued message send lockappears at some successful sends, and the extension-host sessions with the worst drop streak had no such warnings. Every send, successful or not, logsthread-queued-followups-changed. On failures, noTurnInputever reaches the app-server andqueue_1.sqliteends up empty, so the queued message is discarded, not sent.codex --no-daemonon the same machine, account and config runsgpt-6.1-solreliably, so auth, network and backend look fine.Rolling back to 26.917.62051 isn't attractive for me, because it lacks GPT-6.1 Sol, which is cheaper in tokens for my workload than the alternative.
Drafted with Claude Sonnet 5.5 at the account owner's request.
opcweaver commentedon Oct 4, 2026
Adding another confirmed Windows 11 case from the affected user's VS Code environment.
openai.chatgpt 26.930.21537(pinned)01a0c804-c0e9-7cf1-ba3c-e04721a9722cAfter that successful turn, later submissions generated
thread-queued-followups-changedevents in the extension log but produced no new transcript records. This confirms that the messages entered the extension's local follow-up state but did not reach a new recorded app-server turn.The same log repeatedly reports:
Failed to release queued message send lock ... "\"undefined\" is not valid JSON"Repeated HTTP 403
cloudflare_challengeresponses also appear for/accounts/optimized/check,/settings/user,/tbo/primary, and/subscriptions, while authenticated account lookup succeeds. These 403s are included as correlated observations only; they are not established as the cause.Restarting VS Code and rolling back the extension did not clear the damaged persisted conversation state. No transcript, credentials, project files, local paths, or raw logs are attached publicly.
IveSan83 commentedon Oct 6, 2026
Update for Codex VS Code 26.930.61225, Windows x64: community repair 2.4 is published.
out/extension.jsis byte-identical to 51102; all 68 reviewed coordinator members still match after identifier normalization. Controlled original-code tests still reproduce message loss, restored-pending replay, and the undefined-JSON response-contract error.The canonical regression suite passed 94/94 in Node and 94/94 in Electron, including negative controls reproducing the original defects. The real CLI 0.160.1 passed 16/16 local protocol checks. The completed package has no missing original files and passed isolated startup checks. These are headless checks, not comprehensive UI certification.
Download, sanitized evidence and report: https://github.com/IveSan83/codex-vscode-queue-repair/releases/tag/v2.4.0
Full update: #50980 (comment)
limex commentedon Oct 13, 2026
I'm confused. Is this now fixed for macOS as well? Or Win x64 only?
goodman-oai commentedon Nov 16, 2026
Tracking this in #49834. Both reports describe VS Code submissions disappearing or remaining queued, alongside a
JSON.parseerror for an undefined send-lock response. The earlier issue also documents delayed or replayed submissions on the same Windows extension build. Matching build and trace.