You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VS Code Codex queues prompts after completed turn; thread remains markedStreaming=true #50118
bugSomething isn't workingextensionIssues related to the VS Code extensionsessionIssues involving session (thread) management, resuming, forking, naming, archiving
Starting around September 30, 2026, the Codex VS Code extension intermittently starts queueing normal prompts even though the previous turn has already completed and no other request is running.
The problem usually does not happen immediately in a new thread. A new thread works normally for several messages, then eventually a normal completed response is followed by the next prompt being placed into the queue as if Codex still thinks another turn is active.
Sometimes the queued prompt disappears from the UI completely. Pressing the Up Arrow key restores the text in the input box, so the prompt appears to still exist in input/history state even though it is no longer visible as queued.
The problem has reproduced:
after fully restarting VS Code
in brand-new Codex threads
after stopping use of multiple VS Code windows
with only one VS Code window running
after confirming there were no remaining VS Code/Codex processes
The immediately preceding Codex response can be a completely normal completed answer. No cancellation, interruption, compaction, approval dialog, or failed tool call is required.
Relevant log output shows the latest turn as completed while the thread is still marked as streaming:
latestTurnStatus=completed markedStreaming=true
The log also shows the queued-message send lock failing:
Failed to release queued message send lock ... errorMessage="\"undefined\" is not valid JSON"
A similar send-lock failure also occurs during extension startup.
Expected behavior:
After a turn completes, the next submitted prompt should start normally.
Actual behavior:
After several successful turns, Codex sometimes still treats the completed thread as streaming and queues the next prompt. The queued prompt may remain stuck, disappear, or later send successfully once the state recovers.
Reacted by Maurice, Stan Pues, David Goemans, Dwight Rodriques, stereoreader, Li Tai Fang, nicolnhrt, Traqu, ZhongChun Gong, kevin-oconnor-dev and 10 more
One additional observation: this is intermittent rather than permanently stuck. I have seen a prompt get incorrectly queued after a completed turn, then a subsequent prompt send normally without restarting VS Code or changing threads.
Also, the attached log contains repeated HTTP 403 responses from endpoints including /settings/user, /tbo/primary, and /subscriptions. I do not know whether those are related to the queue-state issue, but mentioning them in case they help correlate the failure.
Adding a Windows / VS Code observation matching the Up Arrow / retry behavior described here.
User-visible symptom
Since the update on 2026-10-01, while using GPT 6.1 (model name as reported by the user), sending a message requires typing it and retrying Up Arrow + Enter approximately 2–3 times before it is sent.
This is a direct user report, not a controlled reproduction. The timing coincides with the update; it does not establish that the model caused the failure. No reasoning-effort change was reported as a trigger.
Environment
Windows 11 x64 (10.0.22631)
VS Code 1.140.0
The VS Code extension registry currently selects openai.chatgpt-26.928.40906-win32-x64.
The earlier 26.928.31416 package is also still installed.
Local workspace; PowerShell.
Local diagnostic evidence
The existing Codex.log snapshot contains 20 occurrences of:
[warning] Failed to release queued message send lock conversationId=<redacted> errorMessage="\"undefined\" is not valid JSON" errorName=SyntaxError
A recent example was logged at local time 22:08:15.327 on 2026-10-01, alongside:
[warning] [IpcClient] Received broadcast but no handler is configured method=thread-queued-followups-changed
The same log also contains two resume entries with:
latestTurnStatus=completed markedStreaming=true
These counts are from one snapshot, not error rates. The log spans the session/update, so I am not attributing every historical entry to extension version 26.928.40906, nor claiming each entry corresponds to a particular failed send.
Expected behavior and limits
One normal submission should send the message; repeatedly recalling it with Up Arrow and retrying Enter should not be necessary.
A clean-profile reproduction, an A/B model comparison, and the exact initiating UI action have not been tested. Shared log signatures suggest a connection to the queue/send-lock state, but do not establish the root cause.
Related: #49975 also reports the same send-lock/JSON error on Windows. This report supplements the existing issue rather than opening another duplicate. No prompts, conversation IDs, account details, credentials, or full logs are attached.
#50084 appears to describe essentially the same failure and includes the same key diagnostics: latestTurnStatus=completed while markedStreaming=true, plus Failed to release queued message send lock with "undefined" is not valid JSON.
#50047 also reports the same queued-message lock / JSON parse failure.
My report may therefore be the macOS/Intel reproduction of the same regression. I’ll leave this open for now in case the cross-platform reproduction and attached logs are useful, but it can be closed/merged if maintainers confirm it is the same underlying issue.
Additional impact detail: this can become severe enough that I sometimes cannot get a prompt through at all. When it gets into that state, repeated attempts still leave the request queued or dropped, and I have to quit and reopen VS Code before I can send the request successfully again.
So this is not just a cosmetic queue-state issue; it can completely block normal Codex use until the extension/VS Code state is reset.
I can reproduce this on Linux in the Codex VS Code extension. The installed extension is openai.chatgpt-26.5928.31416-linux-x64; trying the pre-release channel did not prevent the issue.
On October 2, 2026, while a prompt was visibly stuck in the queue, Codex.log recorded the following at 11:10:32 local time (Europe/Madrid):
Failed to release queued message send lock ... errorMessage="\"undefined\" is not valid JSON" errorName=SyntaxError
The same warning recurred in that thread between 10:59 and 11:10. Around those times, the log also repeatedly reported Received broadcast but no handler is configured method=thread-queued-followups-changed. The queued prompt did not start despite the prior response appearing complete.
I have omitted the conversation ID and full logs because they contain local paths and session details. I can provide a redacted excerpt if useful.
I’m seeing the same behavior in the Codex VS Code extension.
I’m seeing this on the pre-release version of the Codex VS Code extension: 26.5928.31416.
Occasionally, when I submit a new message after the previous turn appears to have completed, the message gets placed into the steering/follow-up area instead of being sent as a new turn. It shows a progress indicator and only a delete option, and I’m then unable to submit additional messages.
Reopening VS Code clears the stuck state.
Screenshot attached.
Environment:
Apple M1 Pro
VS Code
Codex extension version: 26.5928.31416
Additional Windows reproduction on the current stable extension, openai.chatgpt 26.930.21537.
The problem frequently occurs after just one successful response in a conversation:
Send a message and receive the assistant's completed answer.
After that answer has finished, send a second message in the same conversation.
Instead of starting a normal new turn, the message appears in the follow-up/queue area with a continuously spinning indicator and does not proceed.
This severely disrupts ordinary back-and-forth use of the extension.
Environment and local evidence:
Windows native VS Code; signed in with a ChatGPT account.
Stable extension: 26.930.21537.
GPT-6.1 Sol is available in the extension; model availability is no longer the problem.
chatgpt.followUpQueueMode is set to queue. The affected submission is made AFTER the previous response has finished, not intentionally queued during active work.
Multiple VS Code startups on October 3, 2026 (UTC+08:00) contain the same diagnostics for the affected conversation:
Failed to release queued message send lock
SyntaxError: "undefined" is not valid JSON
latestTurnStatus=completed markedStreaming=true
Received broadcast but no handler is configured method=thread-queued-followups-changed
Restarting/reloading has not prevented recurrence in this conversation. These signatures match the existing reports, but I have not established that the lock-release parsing error is the sole cause, nor that the model itself triggers the issue. A controlled clean-profile reproduction has not been performed.
Expected: once a turn completes, the next normal submission should start a new turn promptly. If submission fails, please surface a clear error and a retry action instead of leaving the message spinning indefinitely.
Please investigate the completed-turn/queue-state reconciliation and advise which extension release fixes it. Related: #49975.
Only sanitized diagnostics are included; no raw conversation, account identifiers, credentials, or personal filesystem paths are attached.
I can reproduce the same issue on Windows in VS Code with the Codex extension openai.chatgpt-26.930.31428-win32-x64.
In one captured occurrence, the previous turn had already emitted task_complete, but the next follow-up remained queued for about 4 minutes 30 seconds. The extension log showed:
Failed to release queued message send lock
errorMessage="\"undefined\" is not valid JSON"
It also logged an unhandled thread-queued-followups-changed broadcast. When the queue eventually released, my repeated send attempts appeared as duplicate user messages. Restarting VS Code did not resolve the problem. I initially noticed it after using GPT-6.1 Sol, and it also reproduced in a thread showing GPT-5.6 Sol High, so it does not appear to be limited to one model.
Git updated from 2.33.0.windows.2 to 2.56.0.windows.1 during diagnosis.
Reproduction:
Submit a prompt and receive a finished answer.
The UI continues showing running/inference state.
Submit another prompt in the same chat; it is treated as an active-turn follow-up/queued message and can hang.
This also occurs with the minimal prompt type ok and persists after restarting VS Code.
Evidence from the affected chat:
The local session transcript contains task_complete events for both short ok replies.
At 07:40:02 local time, after a VS Code restart, Codex.log contains a resume entry with:
latestTurnStatus=completed markedStreaming=true
The extension also repeatedly logs:
[IpcClient] Received broadcast but no handler is configured method=thread-queued-followups-changed
The original Git installation did not support the git add --sparse option used by turn-diff capture. Updating Git fixed that confirmed incompatibility, but the user-visible completion/queue problem persisted. The Git error therefore was not a sufficient explanation or fix.
Expected: after a completed response, clear the running indicator and accept the next prompt as a new turn.
Actual: the UI retains running/inference state and subsequent submissions may hang in follow-up/queue handling.
A temporary clean-profile test has not been performed. These observations do not establish the root cause or prove that markedStreaming=true is itself erroneous in every resume context. No raw transcripts, account IDs, conversation IDs, credentials, or personal filesystem paths are included.
Same here. A completed turn can still leave the thread in a streaming state, so the next message gets stuck instead of being sent. Rolling back helps, but 26.917.62051 lacks GPT-6.1 Sol support. Waiting for a fix.
Additional native Windows evidence on 2026-10-03, verified against the current extension 26.930.31730. This regression is seriously disrupting normal conversational use and persists across extension updates and a full PC reboot.
Observed: accepted user messages remain in persisted local queues. Independently reproduced in extracted installed code: a JSON serialization/equality mismatch can stop the queue coordinator before the backend boundary; separately, void lock-release responses cause the webview promise to reject after the lock has already been released. The complete causal chain of every UI stall is not established.
Environment
Native Windows x64, OS 10.0.26200.0; local workspace and PowerShell, not Remote WSL.
VS Code 1.140.0; VS Code Insiders 1.141.0-insider is also running.
Both editors select openai.chatgpt-26.930.31730-win32-x64, with bundled codex-cli 0.160.0.
Process inspection confirms each editor launches its own bundled codex.exe app-server --analytics-default-enabled, rather than the separately managed daemon.
Separately installed CLI and managed daemon both report 0.160.0; no version mismatch was observed.
Stable VS Code's main user settings explicitly set chatgpt.followUpQueueMode = steer; the historical residual queue entries below carry queueModeOverride = queue. No custom CLI executable is configured in that main settings file. Effective settings across every scope have not been independently queried.
Post-reboot errors
A newly started stable VS Code log records this at 16:20:22.348 and 16:20:50.642, UTC+08:00:
[warning] Failed to release queued message send lock
conversationId=<redacted>
errorMessage="\"undefined\" is not valid JSON"
errorName=SyntaxError
at JSON.parse (<anonymous>)
at e.onFetchResponse (.../webview/assets/app-initial-7d34126aa1b5.js:3:1518)
Pre-reboot logs show the same warning in both 26.930.31428 and 26.930.31730. Unhandled thread-queued-followups-changed broadcasts also appear. HTTP 403/Cloudflare challenges were observed separately; no causal connection to the queue failure has been established.
Persisted queue versus accepted history: exact ID checks
Read-only inspection of stable VS Code's User/globalStorage/state.vscdb, key openai.chatgpt → queued-follow-ups, found nine entries across six conversations:
Six entries, one at the head of each conversation's local queue, have submission.status = outcome-unknown and pausedReason = submission-outcome-unknown.
For each of those six entries, its queue id exactly equals payload.item.client_id in a session JSONL event with type = event_msg, payload.type = item_completed, and payload.item.type = UserMessage. Each inspected transcript contains one such matching event. This is an ID match, not an inference from repeated text.
Acceptance timestamps span October 1–2; the queue entries still persist after the October 3 reboot.
Three additional entries remain pending behind affected heads. No matching accepted client IDs were found in their inspected transcripts. This does not prove they were never accepted elsewhere.
Stored submission objects omit editPosition.
Insiders' corresponding persisted queue is empty. These queue/history observations are specifically from stable VS Code.
This confirms divergence between persisted queue state and accepted session history. It does not establish which runtime guard prevented each historical entry from being reconciled.
Isolated reproduction using the actual installed coordinator
The installed queue code creates submissions with optional fields such as editPosition, and uses whole-object equality in execution guards, status updates, and sent-item removal. The actual bundled equality function returns false after an optional undefined property is removed by JSON serialization.
We then extracted the installed coordinator class and ran its unchanged private execution/storage methods, using synthetic data, a JSON-roundtripping storage mock, and a mocked backend boundary. A test-only public accessor invokes the private execution method; automatic scheduling is suppressed to execute one controlled attempt. Framework/runtime dependencies are stubbed. No installed file or user state is modified.
Controlled case
Mock backend boundary calls
Queue entries left
Result
Cached message includes editPosition: undefined; storage returns its JSON-normalized copy
0
1
Remains pending; execution exits during the before-send status transition
Same message, storage preserves the in-memory object
1
0
Send and removal complete
Same JSON storage, cached message normalized first
The last control matters: accepted residual entries are not intrinsically unrecoverable. History/readiness/ownership and timing still need investigation in the real UI. These tests show a concrete failure mechanism under controlled inputs, not a clean-profile UI reproduction.
The actual installed queued-follow-up-send-lock-release handler, lock-manager release method, and webview onFetchResponse parser were extracted and invoked with synthetic identifiers.
Verified sequence:
The active lock is removed.
A sent-message receipt is recorded when sent = true.
The async handler returns JavaScript undefined.
JSON.stringify(result) returns undefined; transport serialization omits that response field.
The parser rejects the pending request with SyntaxError: "undefined" is not valid JSON.
Controls: a JSON null response and a normal {"acquired":true} response resolve; malformed JSON still rejects.
The warning is a response-parsing failure after successful lock release, not evidence by itself of an unreleased lock. Fixing this parser/producer contract alone is not demonstrated to fix all queue stalls.
Package fingerprints
These SHA-256 hashes match between the installed stable and Insiders copies:
The script below requires Node.js and the installed 26.930.31730 Windows x64 package. It reads installed files and uses synthetic messages/mocks; it makes no network/model requests and writes no extension or user-state files. It fails if the expected version/source markers are absent.
Reproducer with assertions for coordinator and bridge controls
// Reproduction for openai.chatgpt 26.930.31730 (Windows x64).// No network calls, model requests, or writes to extension/user state.// Usage: node codex-queue-repro.cjs "<installed extension directory>"constfs=require('node:fs');constpath=require('node:path');constvm=require('node:vm');constassert=require('node:assert/strict');constbase=process.argv[2];assert(base,'Pass the installed extension directory');constread=rel=>fs.readFileSync(path.join(base,rel),'utf8');assert.equal(JSON.parse(read('package.json')).version,'26.930.31730');functionextract(s,from,to){consta=s.indexOf(from);assert(a>=0,`Missing start: ${from}`);constb=s.indexOf(to,a);assert(b>a,`Missing end: ${to}`);returns.slice(a,b);}constbundle=read('webview/assets/app-initial-ef6113854c2e.js');constdefinitions=extract(bundle,'var In=i(',',fa=i(')+';';// The final brace here closes the lazy module initializer, not the class.letcoordinator=extract(bundle,'EAn=class','})))()}function OAn');coordinator=coordinator.replace('EAn=class','class');assert(coordinator.endsWith('}}'));// Test-only accessor. All private method bodies remain unchanged.coordinator=coordinator.slice(0,-1)+' debugExecute(e,t,n){return this.#u(e,t,n)} }';constctx={Gh: classextendsError{}};vm.createContext(ctx);vm.runInContext('var i=(fn,res)=>()=>{if(!res){res={exports:{}};fn(res.exports,res)}return res.exports};'+definitions+';globalThis.equal=da();',ctx);Object.assign(ctx,{Vq: class{},SAn: ()=>({}),MQ: {default: ctx.equal},NQ: [],TAn: 'submission-outcome-unknown',m: x=>x,ne: ()=>false,jQ: classextendsError{},it: classextendsError{},Xt: classextendsError{}});constCoordinator=vm.runInContext('('+coordinator+')',ctx);asyncfunctionqueueCase(name,roundtrip,normalizeMemory,accepted){constclone=x=>roundtrip ? JSON.parse(JSON.stringify(x)) : x;constmessage={id: 'synthetic-message',context: {},submission: {hostId: 'local',status: accepted ? 'outcome-unknown' : 'pending',queueModeOverride: 'queue',editPosition: undefined}};letstate={synthetic: [clone(message)]},backendCalls=0;conststorage={read: ()=>({isLoading: false,value: state}),load: async()=>state,update: asyncfn=>{state=clone(fn(state));}};constoptions={
storage,hostId: 'local',getStreamRole: ()=>({role: 'owner'}),isDurableThread: ()=>true,getMessageQueueMode: ()=>'queue',wasMessageAccepted: ()=>accepted,canSend: ()=>true,submissionHost: {needsResume: ()=>false},logger: {warning(){},error(){}}};constc=newCoordinator(options);awaitc.executionReady;c.messages.set('synthetic',{refreshing: false,messages: [normalizeMemory ? JSON.parse(JSON.stringify(message)) : message]});// Suppress automatic scheduling; explicitly run one execution below.c.automaticTurnDeferrals.set('synthetic',1);constexecution={isClientReady: ()=>true,tryAcquireStartTurn: ()=>true,releaseStartTurn(){},acquireSendLock: async()=>({release: async()=>{}})};c.execution=execution;c.submission={sendMessage: async(...args)=>{awaitargs[5]();// Actual coordinator's before-send status transition.backendCalls++;// Mock backend boundary, not a real request.return{status: 'sent',turnId: 'synthetic-turn'};}};awaitc.debugExecute('synthetic',execution,{messageId: message.id,assertAdmission(){},operation: {}});constresult={ name, backendCalls,remaining: state.synthetic?.length??0,status: state.synthetic?.[0]?.submission?.status??null};c.dispose();returnresult;}asyncfunctionbridgeCase(){consthost=read('out/extension.js');constrelease=extract(host,'release({conversationId:e,messageId:r,lockId:n,sent:o}){','getSentMessageKey(e,r){');consthandler=extract(host,'"queued-follow-up-send-lock-release":',',"set-vs-context"').slice('"queued-follow-up-send-lock-release":'.length);constparser=extract(read('webview/assets/app-initial-7d34126aa1b5.js'),'onFetchResponse(e){','async get(');constreleaseFn=vm.runInContext('({'+release+'}).release',ctx);constfactory=vm.runInContext('(function(){return '+handler+'})',ctx);constparse=vm.runInContext('({'+parser+'}).onFetchResponse',ctx);constactiveLocks=newMap([['t',{lockId: 'l',expiresAtMs: 123456}]]);constsentMessages=newMap();constlockManager={ activeLocks, sentMessages,now: ()=>1000,getSentMessageKey: (t,m)=>t+'\n'+m,release: releaseFn};constfn=factory.call({queuedFollowUpSendLocks: lockManager});constresult=awaitfn({conversationId: 't',messageId: 'm',lockId: 'l',sent: true});functiondeliver(bodyJsonString){letresolved=false,rejection;constresponse=JSON.parse(JSON.stringify({requestId: 'test',responseType: 'success',status: 200,headers: {}, bodyJsonString }));constpendingRequests=newMap([['test',{resolve(){resolved=true;},reject(e){rejection=e;}}]]);parse.call({ pendingRequests },response);return{ resolved,error: rejection?.name??null};}constbroken=deliver(JSON.stringify(result));assert.equal(activeLocks.size,0);assert.equal(sentMessages.size,1);assert.equal(broken.error,'SyntaxError');assert.equal(deliver('null').resolved,true);assert.equal(deliver('{"acquired":true}').resolved,true);assert.equal(deliver('{').error,'SyntaxError');return{lockRemoved: true,sentReceiptRecorded: true,voidReply: broken,nullReplyAccepted: true,normalReplyAccepted: true,malformedReplyRejected: true};}(async()=>{constcases=[awaitqueueCase('JSON_optional_undefined',true,false,false),awaitqueueCase('no_JSON_control',false,false,false),awaitqueueCase('normalized_memory_control',true,true,false),awaitqueueCase('accepted_history_control',true,true,true)];assert.deepEqual(cases.map(x=>[x.backendCalls,x.remaining]),[[0,1],[1,0],[1,0],[0,0]]);assert.equal(cases[0].status,'pending');console.log(JSON.stringify({queue: cases,bridge: awaitbridgeCase()},null,2));})().catch(e=>{console.error(e.name,e.message);process.exitCode=1;});
Requested investigation and remaining limits
Please investigate the serialization/equality boundary in queue status transitions and sent-message removal, reconciliation against accepted client IDs, and the void-response bridge contract. Please identify the extension release that fixes this regression.
The installed extension bundles and state database were not modified during diagnosis.
A CLI downgrade was briefly installed during an earlier interrupted troubleshooting attempt, then the CLI was updated back to 0.160.0. Neither editor's extension was successfully downgraded.
No clean-profile or single-editor UI A/B reproduction has been performed. Both stable VS Code and Insiders are running.
We have not observed markedStreaming=true in the inspected post-reboot log and are not asserting that condition for this machine.
Duplicate delivery of the same client ID has not been established in this local evidence. The confirmed finding is accepted-message queue residue.
The extracted-code tests do not cover real app-server transport, live ownership transitions, or every UI timing condition.
Prepared with Codex assistance from local evidence. Private prompts, conversation/message IDs, personal paths, account identifiers, credentials, raw databases, complete transcripts, and extension bundles are omitted.
Additional reproduction on the latest VS Code extension available to me, openai.chatgpt 26.930.31730 on Windows 11.
The same user-visible failure still occurs:
A normal Codex turn finishes and the assistant response is visible.
I send the next message in the same thread.
The message can get stuck in the follow-up/queue area with a spinning indicator instead of starting a new turn.
Reloading the VS Code window may then cause a message that had already been delivered and answered to be submitted again.
In those cases, the previously visible assistant response can disappear/rebuild, making the thread history look inconsistent and creating a risk of duplicate execution.
This is still reproducible after updating from the earlier 26.930 builds to 26.930.31730. I am using GPT-6.1 Sol, but I am not claiming the model itself is the trigger; the behavior appears to be in the extension/thread queue state.
I do not have a fresh sanitized log excerpt from this exact 26.930.31730 occurrence yet, so I am only reporting the observed UI behavior here. The symptoms still match the queue/state-reconciliation problem described in this issue and in #50107.
Expected behavior: once a turn is complete, the next normal message should start exactly once, and reloading VS Code must not replay an already accepted/completed user message.
Additional Windows / VS Code report on 2026-10-03, posted with the affected user's explicit authorization.
Impact: This is repeatedly blocking ordinary paid work. Follow-up requests remain pending or disappear without appearing in the conversation or starting execution. The user has spent substantial time repeatedly retrying and recovering the UI, and cannot rely on requests to save or finish work being delivered. Increasing/resetting the usage allowance does not address this delivery failure. Please prioritize a durable fix and identify a fixed extension version or a supported reliable workaround.
Environment verified locally: VS Code 1.140.0; Codex extension openai.chatgpt 26.930.31730; Windows, local workspace. User configuration already has chatgpt.followUpQueueMode: "steer"; an independent settings check in the active workspace found no workspace override. Merely recommending changing from queue to steer therefore does not resolve this case.
Observed/reported behavior: The issue is intermittent, rather than every submission. The user reports it after a conversation grows longer or is left idle for minutes/tens of minutes. Screenshots show a completed assistant response followed by a pending follow-up row; the user reports that the row sometimes disappears and the request does not execute. After trying the extension-host restart workflow the user reported temporary ability to type/send, followed by recurrence. This is not a controlled proof that restart fixed the cause. Voice input plus a mouse macro is used sometimes, but is not established as the cause.
Sanitized diagnostic findings: Local logs contain repeated Conversation state not found, Received broadcast but no handler is configured method=thread-queued-followups-changed, and ipc-connection-reset notifications. One inspected conversation changed from owner to follower immediately after resume, but that conversation has not been conclusively matched to the reported UI failure. These are diagnostic clues, not a proven root cause. No claim is made that every failure is explained by multi-client ownership.
Expected: Each submitted request should execute exactly once, or visibly fail while preserving the draft. A disappearing composer/queue row must not imply successful delivery. Please also preserve completed files and conversation history during recovery.
No private prompts, screenshots, conversation IDs, personal paths, credentials, full logs, or project files are included in this report. Related reports: #50265 and #31128.
Adding an Ubuntu observation and a successful workaround involving VS Code settings scope.
Environment
Ubuntu 24.04
Codex VS Code extension: openai.chatgpt version 26.5901.22334
chatgpt.composerEnterBehavior: cmdAlways
No custom Ctrl+Enter binding was found in the inspected default or profile keybindings.
Observed behavior
During the recurring failure, pressing Ctrl+Enter removed the text from the composer and placed it into the follow-up queue instead of visibly posting it. Clicking the Send arrow worked. In a fresh chat after reloading VS Code, multiline Ctrl+Enter worked normally.
An initial screenshot captured during troubleshooting showed a “Dictation stopped” banner with a Retry button and an empty “Ask for follow-up changes” composer. It does not show the queued message or settings mismatch, and I have not established whether the dictation state was related.
Settings-scope observation and workaround
User-level chatgpt.followUpQueueMode was already set to steer.
On the Workspace settings tab, the control nevertheless displayed queue with the label “Modified in User.”
Explicitly setting the Workspace-level value to steer changed the label to “Also modified in User.”
Immediately afterward, Ctrl+Enter successfully steered a running Codex lane. No VS Code reload was required.
This observed sequence provides a reproduction path to investigate and a successful workaround for this occurrence. It suggests a possible settings-scope/inheritance problem: the User-level steer value appeared not to become effective inside the workspace until steer was explicitly written at Workspace scope. It does not establish the root cause, prove that the settings UI reflected the extension’s effective runtime value, or demonstrate that the workaround resolves every queueing failure.
I routinely have about five long-running Codex lanes open, so repeatedly using “Developer: Reload Window” is not an acceptable workaround.
No Codex logs were collected, so I cannot confirm the markedStreaming=true or queued-message-lock errors reported by others. This report supplements the overlapping UI symptoms without claiming an identical underlying defect.
The problem is still reproducible on Ubuntu 24.04 with the VS Code extension openai.chatgpt version 26.5901.22334.
Current settings:
chatgpt.followUpQueueMode: explicitly set to steer at both User and Workspace scopes.
chatgpt.composerEnterBehavior: cmdAlways.
During an active run, pressing Ctrl+Enter removes the follow-up text from the composer and places it in a pending row showing a spinner and only a delete control. The original run continues displaying “Thinking,” and the follow-up does not appear as a posted message in the conversation.
Explicitly setting followUpQueueMode to steer at Workspace scope coincided with one successful test, but the failure subsequently recurred. This is not a verified fix.
Reloading or starting a fresh chat can temporarily restore sending, but recurrence makes those workarounds unsuitable for a workflow involving several long-running lanes.
We have not collected logs, so we cannot independently confirm markedStreaming=true or the queued-message send-lock error. This report describes the observed UI behaviour; the underlying cause remains unconfirmed.
Workaround that has helped me: downgrade the VS Code Codex extension from 26.928 to 26.917.62051 and disable auto-update temporarily. Since downgrading, the stuck/queued prompt issue has not reproduced for me so far. This may help others who are currently blocked by the regression.
Additional reproduction on Windows with VS Code Codex extension openai.chatgpt-26.1111.21308-win32-x64 (2026-11-18).
With follow-up behavior set to Queue, messages added while a turn is running sometimes remain visibly queued after the turn is completed. A newly submitted message during that interval is also queued. The backlog eventually advances, often about one minute later. Reloading the VS Code window did not remove the behavior.
I instrumented the installed extension locally and restored its original files afterward. The diagnostic recorded no failed send-lock acquisition or release in the captured attempts. The extension's log repeatedly showed thread-queued-followups-changed broadcasts with no configured handler, although this alone does not establish causation.
Next task_started: 20:49:21, approximately 60 seconds later
Other queued turns started within 1–2 seconds after task_complete, so the delay is intermittent within the same conversation. This case appears distinct from reports involving Failed to release queued message send lock / "undefined" is not valid JSON: neither error appeared in this reproduction.
Expected: the first queued follow-up starts promptly after task_complete. Actual: the UI continues to queue new input and starts the follow-up roughly a minute later.
bugSomething isn't workingextensionIssues related to the VS Code extensionsessionIssues involving session (thread) management, resuming, forking, naming, archiving
Activity
stansult commentedon Oct 1, 2026
One additional observation: this is intermittent rather than permanently stuck. I have seen a prompt get incorrectly queued after a completed turn, then a subsequent prompt send normally without restarting VS Code or changing threads.
Also, the attached log contains repeated HTTP 403 responses from endpoints including
/settings/user,/tbo/primary, and/subscriptions. I do not know whether those are related to the queue-state issue, but mentioning them in case they help correlate the failure.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
GuilhermeP96 commentedon Oct 2, 2026
Adding a Windows / VS Code observation matching the Up Arrow / retry behavior described here.
User-visible symptom
Since the update on 2026-10-01, while using GPT 6.1 (model name as reported by the user), sending a message requires typing it and retrying Up Arrow + Enter approximately 2–3 times before it is sent.
This is a direct user report, not a controlled reproduction. The timing coincides with the update; it does not establish that the model caused the failure. No reasoning-effort change was reported as a trigger.
Environment
openai.chatgpt-26.928.40906-win32-x64.26.928.31416package is also still installed.Local diagnostic evidence
The existing Codex.log snapshot contains 20 occurrences of:
A recent example was logged at local time 22:08:15.327 on 2026-10-01, alongside:
The same log also contains two resume entries with:
These counts are from one snapshot, not error rates. The log spans the session/update, so I am not attributing every historical entry to extension version 26.928.40906, nor claiming each entry corresponds to a particular failed send.
Expected behavior and limits
One normal submission should send the message; repeatedly recalling it with Up Arrow and retrying Enter should not be necessary.
A clean-profile reproduction, an A/B model comparison, and the exact initiating UI action have not been tested. Shared log signatures suggest a connection to the queue/send-lock state, but do not establish the root cause.
Related: #49975 also reports the same send-lock/JSON error on Windows. This report supplements the existing issue rather than opening another duplicate. No prompts, conversation IDs, account details, credentials, or full logs are attached.
stansult commentedon Oct 2, 2026
I reviewed the suggested duplicates.
#50084 appears to describe essentially the same failure and includes the same key diagnostics:
latestTurnStatus=completedwhilemarkedStreaming=true, plusFailed to release queued message send lockwith"undefined" is not valid JSON.#50047 also reports the same queued-message lock / JSON parse failure.
My report may therefore be the macOS/Intel reproduction of the same regression. I’ll leave this open for now in case the cross-platform reproduction and attached logs are useful, but it can be closed/merged if maintainers confirm it is the same underlying issue.
stansult commentedon Oct 2, 2026
Additional impact detail: this can become severe enough that I sometimes cannot get a prompt through at all. When it gets into that state, repeated attempts still leave the request queued or dropped, and I have to quit and reopen VS Code before I can send the request successfully again.
So this is not just a cosmetic queue-state issue; it can completely block normal Codex use until the extension/VS Code state is reset.
tolbier commentedon Oct 2, 2026
I can reproduce this on Linux in the Codex VS Code extension. The installed extension is
openai.chatgpt-26.5928.31416-linux-x64; trying the pre-release channel did not prevent the issue.On October 2, 2026, while a prompt was visibly stuck in the queue,
Codex.logrecorded the following at 11:10:32 local time (Europe/Madrid):The same warning recurred in that thread between 10:59 and 11:10. Around those times, the log also repeatedly reported
Received broadcast but no handler is configured method=thread-queued-followups-changed. The queued prompt did not start despite the prior response appearing complete.I have omitted the conversation ID and full logs because they contain local paths and session details. I can provide a redacted excerpt if useful.
drodriques commentedon Oct 2, 2026
I’m seeing the same behavior in the Codex VS Code extension.
I’m seeing this on the pre-release version of the Codex VS Code extension: 26.5928.31416.
Occasionally, when I submit a new message after the previous turn appears to have completed, the message gets placed into the steering/follow-up area instead of being sent as a new turn. It shows a progress indicator and only a delete option, and I’m then unable to submit additional messages.
Reopening VS Code clears the stuck state.
Screenshot attached.
Environment:
Apple M1 Pro
VS Code
Codex extension version: 26.5928.31416
GeoRouv commentedon Oct 2, 2026
Same issue here
stereoreader commentedon Oct 2, 2026
can't work because of this, the vscode extension is broken for me, the whole product is broken then, that's really a failure
babatuosi936 commentedon Oct 2, 2026
Additional Windows reproduction on the current stable extension,
openai.chatgpt 26.930.21537.The problem frequently occurs after just one successful response in a conversation:
This severely disrupts ordinary back-and-forth use of the extension.
Environment and local evidence:
26.930.21537.chatgpt.followUpQueueModeis set toqueue. The affected submission is made AFTER the previous response has finished, not intentionally queued during active work.Restarting/reloading has not prevented recurrence in this conversation. These signatures match the existing reports, but I have not established that the lock-release parsing error is the sole cause, nor that the model itself triggers the issue. A controlled clean-profile reproduction has not been performed.
Expected: once a turn completes, the next normal submission should start a new turn promptly. If submission fails, please surface a clear error and a retry action instead of leaving the message spinning indefinitely.
Please investigate the completed-turn/queue-state reconciliation and advise which extension release fixes it. Related: #49975.
Only sanitized diagnostics are included; no raw conversation, account identifiers, credentials, or personal filesystem paths are attached.
akospaska commentedon Oct 2, 2026
Same issue here
aphyllo commentedon Oct 3, 2026
I can reproduce the same issue on Windows in VS Code with the Codex extension
openai.chatgpt-26.930.31428-win32-x64.In one captured occurrence, the previous turn had already emitted
task_complete, but the next follow-up remained queued for about 4 minutes 30 seconds. The extension log showed:It also logged an unhandled
thread-queued-followups-changedbroadcast. When the queue eventually released, my repeated send attempts appeared as duplicate user messages. Restarting VS Code did not resolve the problem. I initially noticed it after using GPT-6.1 Sol, and it also reproduced in a thread showing GPT-5.6 Sol High, so it does not appear to be limited to one model.simonVR commentedon Oct 3, 2026
I see the exact same issue too. Latest codex on Ubuntu
BearBearings commentedon Oct 3, 2026
Additional Windows reproduction on October 3, 2026 (Europe/Berlin).
Environment:
Reproduction:
type okand persists after restarting VS Code.Evidence from the affected chat:
okreplies.The original Git installation did not support the
git add --sparseoption used by turn-diff capture. Updating Git fixed that confirmed incompatibility, but the user-visible completion/queue problem persisted. The Git error therefore was not a sufficient explanation or fix.Expected: after a completed response, clear the running indicator and accept the next prompt as a new turn.
Actual: the UI retains running/inference state and subsequent submissions may hang in follow-up/queue handling.
A temporary clean-profile test has not been performed. These observations do not establish the root cause or prove that markedStreaming=true is itself erroneous in every resume context. No raw transcripts, account IDs, conversation IDs, credentials, or personal filesystem paths are included.
petterip commentedon Oct 3, 2026
Same here. A completed turn can still leave the thread in a streaming state, so the next message gets stuck instead of being sent. 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
zanewnch commentedon Oct 3, 2026
Additional native Windows evidence on 2026-10-03, verified against the current extension 26.930.31730. This regression is seriously disrupting normal conversational use and persists across extension updates and a full PC reboot.
Observed: accepted user messages remain in persisted local queues. Independently reproduced in extracted installed code: a JSON serialization/equality mismatch can stop the queue coordinator before the backend boundary; separately, void lock-release responses cause the webview promise to reject after the lock has already been released. The complete causal chain of every UI stall is not established.
Environment
openai.chatgpt-26.930.31730-win32-x64, with bundledcodex-cli 0.160.0.codex.exe app-server --analytics-default-enabled, rather than the separately managed daemon.chatgpt.followUpQueueMode = steer; the historical residual queue entries below carryqueueModeOverride = queue. No custom CLI executable is configured in that main settings file. Effective settings across every scope have not been independently queried.Post-reboot errors
A newly started stable VS Code log records this at 16:20:22.348 and 16:20:50.642, UTC+08:00:
Pre-reboot logs show the same warning in both 26.930.31428 and 26.930.31730. Unhandled
thread-queued-followups-changedbroadcasts also appear. HTTP 403/Cloudflare challenges were observed separately; no causal connection to the queue failure has been established.Persisted queue versus accepted history: exact ID checks
Read-only inspection of stable VS Code's
User/globalStorage/state.vscdb, keyopenai.chatgpt→queued-follow-ups, found nine entries across six conversations:submission.status = outcome-unknownandpausedReason = submission-outcome-unknown.idexactly equalspayload.item.client_idin a session JSONL event withtype = event_msg,payload.type = item_completed, andpayload.item.type = UserMessage. Each inspected transcript contains one such matching event. This is an ID match, not an inference from repeated text.pendingbehind affected heads. No matching accepted client IDs were found in their inspected transcripts. This does not prove they were never accepted elsewhere.editPosition.This confirms divergence between persisted queue state and accepted session history. It does not establish which runtime guard prevented each historical entry from being reconciled.
Isolated reproduction using the actual installed coordinator
Related analysis: #50365.
The installed queue code creates submissions with optional fields such as
editPosition, and uses whole-object equality in execution guards, status updates, and sent-item removal. The actual bundled equality function returns false after an optionalundefinedproperty is removed by JSON serialization.We then extracted the installed coordinator class and ran its unchanged private execution/storage methods, using synthetic data, a JSON-roundtripping storage mock, and a mocked backend boundary. A test-only public accessor invokes the private execution method; automatic scheduling is suppressed to execute one controlled attempt. Framework/runtime dependencies are stubbed. No installed file or user state is modified.
editPosition: undefined; storage returns its JSON-normalized copypending; execution exits during the before-send status transitionoutcome-unknownmessage; accepted-history predicate returns trueThe last control matters: accepted residual entries are not intrinsically unrecoverable. History/readiness/ownership and timing still need investigation in the real UI. These tests show a concrete failure mechanism under controlled inputs, not a clean-profile UI reproduction.
Independently reproduced void-response bridge defect
The actual installed
queued-follow-up-send-lock-releasehandler, lock-managerreleasemethod, and webviewonFetchResponseparser were extracted and invoked with synthetic identifiers.Verified sequence:
sent = true.undefined.JSON.stringify(result)returnsundefined; transport serialization omits that response field.SyntaxError: "undefined" is not valid JSON.Controls: a JSON
nullresponse and a normal{"acquired":true}response resolve; malformed JSON still rejects.The warning is a response-parsing failure after successful lock release, not evidence by itself of an unreleased lock. Fixing this parser/producer contract alone is not demonstrated to fix all queue stalls.
Package fingerprints
These SHA-256 hashes match between the installed stable and Insiders copies:
Standalone diagnostic
The script below requires Node.js and the installed 26.930.31730 Windows x64 package. It reads installed files and uses synthetic messages/mocks; it makes no network/model requests and writes no extension or user-state files. It fails if the expected version/source markers are absent.
Reproducer with assertions for coordinator and bridge controls
Requested investigation and remaining limits
Please investigate the serialization/equality boundary in queue status transitions and sent-message removal, reconciliation against accepted client IDs, and the void-response bridge contract. Please identify the extension release that fixes this regression.
markedStreaming=truein the inspected post-reboot log and are not asserting that condition for this machine.Prepared with Codex assistance from local evidence. Private prompts, conversation/message IDs, personal paths, account identifiers, credentials, raw databases, complete transcripts, and extension bundles are omitted.
XIronMan0220 commentedon Oct 3, 2026
Additional reproduction on the latest VS Code extension available to me, openai.chatgpt 26.930.31730 on Windows 11.
The same user-visible failure still occurs:
This is still reproducible after updating from the earlier 26.930 builds to 26.930.31730. I am using GPT-6.1 Sol, but I am not claiming the model itself is the trigger; the behavior appears to be in the extension/thread queue state.
I do not have a fresh sanitized log excerpt from this exact 26.930.31730 occurrence yet, so I am only reporting the observed UI behavior here. The symptoms still match the queue/state-reconciliation problem described in this issue and in #50107.
Expected behavior: once a turn is complete, the next normal message should start exactly once, and reloading VS Code must not replay an already accepted/completed user message.
zymnsy commentedon Oct 3, 2026
Additional Windows / VS Code report on 2026-10-03, posted with the affected user's explicit authorization.
Impact: This is repeatedly blocking ordinary paid work. Follow-up requests remain pending or disappear without appearing in the conversation or starting execution. The user has spent substantial time repeatedly retrying and recovering the UI, and cannot rely on requests to save or finish work being delivered. Increasing/resetting the usage allowance does not address this delivery failure. Please prioritize a durable fix and identify a fixed extension version or a supported reliable workaround.
Environment verified locally: VS Code 1.140.0; Codex extension openai.chatgpt 26.930.31730; Windows, local workspace. User configuration already has
chatgpt.followUpQueueMode: "steer"; an independent settings check in the active workspace found no workspace override. Merely recommending changing from queue to steer therefore does not resolve this case.Observed/reported behavior: The issue is intermittent, rather than every submission. The user reports it after a conversation grows longer or is left idle for minutes/tens of minutes. Screenshots show a completed assistant response followed by a pending follow-up row; the user reports that the row sometimes disappears and the request does not execute. After trying the extension-host restart workflow the user reported temporary ability to type/send, followed by recurrence. This is not a controlled proof that restart fixed the cause. Voice input plus a mouse macro is used sometimes, but is not established as the cause.
Sanitized diagnostic findings: Local logs contain repeated
Conversation state not found,Received broadcast but no handler is configured method=thread-queued-followups-changed, andipc-connection-resetnotifications. One inspected conversation changed from owner to follower immediately after resume, but that conversation has not been conclusively matched to the reported UI failure. These are diagnostic clues, not a proven root cause. No claim is made that every failure is explained by multi-client ownership.Expected: Each submitted request should execute exactly once, or visibly fail while preserving the draft. A disappearing composer/queue row must not imply successful delivery. Please also preserve completed files and conversation history during recovery.
No private prompts, screenshots, conversation IDs, personal paths, credentials, full logs, or project files are included in this report. Related reports: #50265 and #31128.
interconnectedMe commentedon Oct 3, 2026
Adding an Ubuntu observation and a successful workaround involving VS Code settings scope.
Environment
openai.chatgptversion26.5901.22334chatgpt.composerEnterBehavior:cmdAlwaysObserved behavior
During the recurring failure, pressing Ctrl+Enter removed the text from the composer and placed it into the follow-up queue instead of visibly posting it. Clicking the Send arrow worked. In a fresh chat after reloading VS Code, multiline Ctrl+Enter worked normally.
An initial screenshot captured during troubleshooting showed a “Dictation stopped” banner with a Retry button and an empty “Ask for follow-up changes” composer. It does not show the queued message or settings mismatch, and I have not established whether the dictation state was related.
Settings-scope observation and workaround
chatgpt.followUpQueueModewas already set tosteer.queuewith the label “Modified in User.”steerchanged the label to “Also modified in User.”This observed sequence provides a reproduction path to investigate and a successful workaround for this occurrence. It suggests a possible settings-scope/inheritance problem: the User-level
steervalue appeared not to become effective inside the workspace untilsteerwas explicitly written at Workspace scope. It does not establish the root cause, prove that the settings UI reflected the extension’s effective runtime value, or demonstrate that the workaround resolves every queueing failure.I routinely have about five long-running Codex lanes open, so repeatedly using “Developer: Reload Window” is not an acceptable workaround.
No Codex logs were collected, so I cannot confirm the
markedStreaming=trueor queued-message-lock errors reported by others. This report supplements the overlapping UI symptoms without claiming an identical underlying defect.interconnectedMe commentedon Oct 3, 2026
The problem is still reproducible on Ubuntu 24.04 with the VS Code extension
openai.chatgptversion26.5901.22334.Current settings:
chatgpt.followUpQueueMode: explicitly set tosteerat both User and Workspace scopes.chatgpt.composerEnterBehavior:cmdAlways.During an active run, pressing Ctrl+Enter removes the follow-up text from the composer and places it in a pending row showing a spinner and only a delete control. The original run continues displaying “Thinking,” and the follow-up does not appear as a posted message in the conversation.
Explicitly setting
followUpQueueModetosteerat Workspace scope coincided with one successful test, but the failure subsequently recurred. This is not a verified fix.Reloading or starting a fresh chat can temporarily restore sending, but recurrence makes those workarounds unsuitable for a workflow involving several long-running lanes.
We have not collected logs, so we cannot independently confirm
markedStreaming=trueor the queued-message send-lock error. This report describes the observed UI behaviour; the underlying cause remains unconfirmed.CryptoBaldezh commentedon Oct 3, 2026
Same here, please fix this, very uncomfortable to work when reboot extensions after every message
Caellum-Kennedy commentedon Oct 3, 2026
Same here, spamming up arrow has let me send messages. On all models currently. Feels random when it happens.
Akash-bu commentedon Oct 3, 2026
Its kinda very irritating and making work less productive. I Kindly request you to address the issue asap.
stansult commentedon Oct 3, 2026
Workaround that has helped me: downgrade the VS Code Codex extension from 26.928 to 26.917.62051 and disable auto-update temporarily. Since downgrading, the stuck/queued prompt issue has not reproduced for me so far. This may help others who are currently blocked by the regression.
mergi72 commentedon Nov 18, 2026
Additional reproduction on Windows with VS Code Codex extension
openai.chatgpt-26.1111.21308-win32-x64(2026-11-18).With follow-up behavior set to Queue, messages added while a turn is running sometimes remain visibly queued after the turn is completed. A newly submitted message during that interval is also queued. The backlog eventually advances, often about one minute later. Reloading the VS Code window did not remove the behavior.
I instrumented the installed extension locally and restored its original files afterward. The diagnostic recorded no failed send-lock acquisition or release in the captured attempts. The extension's log repeatedly showed
thread-queued-followups-changedbroadcasts with no configured handler, although this alone does not establish causation.One measured interval:
task_complete: 20:48:21 local timeaccountReady=true,clientReady=true,deferred=false,role=owner,localCount=4,serverCount=0,pending=false,queueRefresh=falsetask_started: 20:49:21, approximately 60 seconds laterOther queued turns started within 1–2 seconds after
task_complete, so the delay is intermittent within the same conversation. This case appears distinct from reports involvingFailed to release queued message send lock/"undefined" is not valid JSON: neither error appeared in this reproduction.Expected: the first queued follow-up starts promptly after
task_complete. Actual: the UI continues to queue new input and starts the follow-up roughly a minute later.