Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.930.4958.0 (installed Windows package OpenAI.Codex)
What subscription do you have?
ChatGPT Pro
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64; user also accesses the chat from a phone
What issue are you seeing?
Recurring prompt-queue/display failure, reported again October 5, 2026. A previous prompt has already been ingested and answered by the agent, but does not display in the chat thread and still appears to block later input. Two subsequent stacked prompts remain blocked behind it. The queued prompt cycles indefinitely and cannot be cleared, reopened, executed/pushed, or terminated through the available UI. Adding one, two, or three queued prompts does not unblock it. This prevents delivering a requested test grid and instructions to an operating agent. This is a customer report of observed behavior; the internal cause is unknown.
What steps can reproduce the bug?
User-observed sequence (intermittent; no deterministic minimal reproduction established):
- Send a prompt to an existing Codex chat.
- The agent ingests and responds to it, but the consumed prompt does not appear in the visible chat thread.
- Send two follow-up prompts while the stale queued item remains.
- Both follow-ups remain stacked/blocked behind the already consumed prompt.
- Attempt to clear, reopen, push/execute, or terminate the stale item. No working recovery control is available; it continues cycling. Additional stacked prompts do not help.
No context-window/token measurements were captured. Private task contents and document links omitted.
What is the expected behavior?
Ingested prompts and their replies should be visible in the thread. Once consumed, a prompt should leave the pending queue and must not block later messages. Follow-up prompts should be delivered in order, with a usable cancel/remove/retry or termination control for genuinely stuck items, without losing user input.
Additional information
Operational impact: user cannot reliably steer or deliver requested artifacts to the agent, and must use another agent to relay the message. The user reports this persists despite prior apparent fixes. Please investigate queue lifecycle reconciliation and transcript rendering together. App package version and OS verified locally; queue symptoms are user-reported, not a controlled reproduction by the filing agent.
Activity
github-actions commentedon Oct 5, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
PatrickASimpson commentedon Oct 8, 2026
Captured this again on Windows Desktop 26.1002.7124.0. The Desktop log records:
Failed to send queued message ... errorMessage="Queued follow-up changed before dispatch"The consumed prompt was already present in app-server history and was later delivered again as a new turn with the same client message ID, while subsequent prompts remained queued. The packaged/minified stack points into
app-shared-40678a67f0e3.js; the initial log alone could not distinguish the guards.Update (October 8): this has been affecting almost every thread for the past couple of hours, rather than an isolated thread. Non-pausing debugger logpoints captured two failures in
sendNow:disposed=false, queue enabled, queued item unchanged, but the ownership-validity callback returned false. Tracing that callback shows it rejects a follower window, or a window that previously held the stream-owner role and subsequently lost it. We have identified the ownership guard; which ownership transition triggered it, and why, remain unconfirmed.PatrickASimpson commentedon Oct 8, 2026
Workaround verified in my Windows Desktop setup (26.1002.7124.0): keep each thread confined to one window for the lifetime of the open Desktop windows.
This avoids the stuck pending messages / failed queued steering in my setup. It is a workaround, not a fix or a guarantee for every queue failure. Debugger captures identified the local stream-ownership guard rejecting queued steering in a follower window; the cause of every stale queue/transcript entry remains unconfirmed.
Related single-window recovery reports: #50806, #51251, #49456. Their reports corroborate single-window recovery; the retained-window-history detail above is from my own testing.
PatrickASimpson commentedon Oct 8, 2026
Reduced reproduction in my Windows Desktop setup (26.1002.7124.0), which now appears repeatable:
This appears to happen with any existing thread in my testing; it is not an exhaustive test of every thread.
The window-role distinction is important: the original window retains the thread's
ownerrole, while the new window actually displaying the thread is classified as afollower. Displaying and interacting with the thread in the new window does not automatically make it the owner.Recovery: closing the first/original owner window allows the follower window holding the prompt to become the owner and start working normally; it can then successfully submit the steering instruction. Leave the new window open and retry Steer there. This worked without restarting Desktop. In a captured instance, the new window was a
followerduring twoQueued follow-up changed before dispatchfailures, then becameownerafter the original window closed; its nextturn/steerresponse succeeded (errorCode=null).Please cover this fresh-launch/new-window sequence in regression tests, including initial prompt queue cleanup and preventing an already-consumed prompt from being replayed.
YiwenPang commentedon Oct 13, 2026
Serious Recurrence on October 13, 2026 — Duplicate Prompt Execution, Queue Corruption, and Potentially Wasted Paid Usage
I am experiencing what appears to be the same issue in the Codex Windows desktop application, and I would like to report a particularly serious consequence: previously completed prompts are being executed repeatedly without my intentionally submitting them again.
Environment
What Happened
I experienced the following sequence:
I did not intentionally request these repeated executions.
I have multiple screenshots documenting the duplicate user messages, repeated model execution, and abnormal queue states.
Why This Is a Serious Problem
This is not merely a visual glitch or an inconvenient delay.
I am a paying customer using a model with limited usage allowances. Every unintended reasoning session may consume part of the usage allowance I have paid for.
When Codex executes an already completed instruction again because of an apparent queue-management failure, the customer receives no additional value but may still incur usage consumption.
I find it unacceptable for users to potentially bear the computational cost of executions they did not intentionally initiate.
The financial amount involved may be small, but the principle is extremely important. Even a small amount of improperly consumed paid usage undermines confidence in the product's reliability and usage accounting.
There is also a broader risk: unintended repeated execution in an autonomous coding agent can result in duplicate API calls, unnecessary file modifications, repeated operations, and potentially irreversible side effects.
Requested Engineering Actions
I respectfully but firmly request that the Codex engineering team:
I recognize that the precise internal cause has not yet been established. My screenshots demonstrate the visible duplicate messages and repeated execution, but I cannot independently verify the server-side delivery mechanism or exact usage deductions.
Nevertheless, the externally observable behavior is already serious enough to warrant investigation.
Final Concern
I rely on Codex for substantial development and research work. I should not have to constantly supervise whether the application is executing my instructions once, twice, or repeatedly.
A paid AI coding assistant must provide reliable instruction delivery, predictable execution, and trustworthy usage accounting.
Please prioritize this issue and investigate the potential impact on customers' paid usage allowances.
Thank you.
bwalkerMIR commentedon Oct 13, 2026
Yes this is a very serious issue. Codex is unusuable. The queue gets stuck and nothing you can do about it, then randomly will start working again but process already executed instructions AGAIN
YiwenPang commentedon Oct 14, 2026
Thanks for replying and sharing your experience, @bwalkerMIR. That’s exactly the behavior I was seeing too.
One observation that might help with the investigation: in my case, this seemed to coincide with the service slowdown on October 13. Since the service started behaving normally again at around 5:00 PM Beijing time that day (UTC+8; 09:00 UTC), I haven’t seen the queue getting stuck or previously completed instructions being executed again.
This is just an observation from my own usage, so I wouldn’t take it as confirmation that the issue is fixed or that the slowdown was the root cause. However, the timing seemed worth sharing in case it helps the team investigate.
Thanks again for adding your report. I genuinely hope the OpenAI and Codex teams can get to the bottom of this and deliver a more stable, reliable experience, while continuing to surprise us with meaningful improvements.
Kansalis commentedon Oct 15, 2026
Windows local Work recurrence, 15 October 2026: exact client IDs delivered two and three times on an unmodified desktop app
Adding a measured recurrence to this existing report. Normal sends to an idle chat stall behind previously answered instructions; those old instructions later execute again before the new input. This has been happening for approximately two weeks and became frequent today.
Environment
The affected chat stayed in its original window. I did not open it in another window, refresh it, or switch that window to another chat. I used other existing windows, returned to the affected chat, and pressed Enter normally after the preceding answer had completed. Recovery and replay also occurred while the affected window was unfocused and untouched. No new chats were required.
Directly verified evidence
Read-only comparison of persisted
queued-follow-ups, backenduserMessage.clientIdvalues, turn records, and the session rollout confirms duplicate delivery under the same client ID, not merely similar prompt text or duplicate rendering.All times below are UTC on 2026-10-15. A/B/C labels replace private identifiers; equality was checked against the actual IDs locally.
Additional observations:
pendingat 13:36:51 with its original ID and creation timestamp, ahead of newer input.sending, already-delivered B aspending, and genuinely new C aspending.queued_itemstable was empty during captured failures; checking that table alone misses this legacy frontend queue.turn/startRPCs had millisecond durations andqueueWaitMs=0; the observed delay occurred before dispatch.Closing other windows coincided with recovery once, but failed on a later recurrence. A full restart temporarily helped; using one window was initially stable, then the issue recurred after reopening four. These are observations, not proof that window count alone is the cause.
Installed-code reproduction, with limits
A read-only extraction of shipped methods, run with synthetic state/clock and mocked transport/storage adapters, reproduces:
pendingentry waits while the receipt exists, then can send again when it expires. A stalesendingentry can instead wait and then reconcile without another send.The roughly ten-minute replay intervals are consistent with this mechanism. The particular writer/snapshot that restored each live entry has not been traced, so this is not a claim of a complete captured production causal chain.
The extracted frontend asset is
app-shared-30671c57ec82.js, SHA-256392b023063a3569a2efc47a019accb2d1e72295b1bfec2cbb81fc37e1515580a.An isolated candidate that checks accepted IDs before lock acquisition and filters follower snapshots passes eight focused cases. It is not a complete fix: a further test still replays an accepted ID after receipt expiry when cached acceptance history is unavailable. No patch was installed. No live queue edits, deliberate replay, or diagnostic test messages caused the captured duplicates.
Requested investigation
Related evidence: #49456 (receipt gating/stale snapshots), #50806 (Windows ownership/Steer), #49743 (blocked Work intake). The exact triggers differ; a common cause is not asserted.
Prepared with ChatGPT assistance from local read-only records and isolated tests, at my request. Private prompts, chat/thread IDs, client IDs, account details, filesystem paths, screenshots, raw databases and application bundles are omitted. No usage charge or allowance deduction has been measured.
differential-ai-jude-fisher commentedon Oct 20, 2026
Reproduced multiple times. This is making Codex almost unusable. I'm running 5 codex windows in parallel (don't know if this causes it).
At random a new instruction is queued instead of being sent to the model and at this point the chat is broken - no further messages can be sent, they just pile up in the queue.
Branching the chat often fixes it. Restarting the app entirely always does - but this is a real pain with 5x parallel processes to restart.
bwalkerMIR commentedon Oct 20, 2026
This issue is definitely related to having multile codex windows open. I gave up on multiple windows, and since then I haven't been seeing this error. Obnoxious though that we are stuck at one window.
bwalkerMIR commentedon Oct 20, 2026
Actually I take that back, the issue is more rare on a single window but can still happen specifically when restarting a goal in the codex app (running on windows 11). It will occasionally find previous instruction it already processed (even if it was a day ago and had already completed) and it will run it again.