codex icon indicating copy to clipboard operation
codex copied to clipboard

VS Code/Cursor Codex Extension: Submitted Prompts Randomly Disappear Before Entering Queue

Open Avnsx opened this issue 5 months ago • 12 comments

What version of the IDE extension are you using?

3.6.31

What subscription do you have?

ChatGPT Pro 20x

Which IDE are you using?

Cursor

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Codex Cursor Extension Queue's keep disspearing, I sometimes have to paste my prompt multiple times till it gets accepted into the queue. Most of the times it just dissapears randomly and is incredibly annoying, especially if you want to paste a long prompt chain with exact instructions for the a agent to complete while you go outside for a run or something, and later want to come home and review the progress / edits for flaws in the codebase. Absolutely renders the tool or atleast the queuing feature useless.

Version: 3.6.31 (user setup) VS Code Extension API: 1.105.1 Commit: 81fcf2931d7687b4ff3f3017858d0c6dee7e2a60 Date: 2026-05-31T17:46:29.630Z Layout: editor Build Type: Stable Release Track: Default Electron: 39.8.1 Chromium: 142.0.7444.265 Node.js: 22.22.1 V8: 14.2.231.22-electron.0 xterm.js: 6.1.0-beta.220 OS: Windows_NT x64 10.0.26200

Codex Extension: Identifier: openai.chatgpt Version: 26.5527.60818 Last Updated: 2026-06-02, 07:51:57 Pro Subscription Model: ChatGPT 5.5 Extra High with Full access to IDE Context.

What steps can reproduce the bug?

Manually as a human just write a sentence and press Enter, or copying and pasting it also works. Within below preview a harshly demonstrated test-case is visible of pasting a sentence multiple times into Codex repeadetly attempting to reproduce the bug. Used Model is ChatGPT 5.5 with Mode: Extra High

A full video which is recording steps reproducing the bug can be located here: Watch the video

What is the expected behavior?

Queue's containing real user input, get accepted on first try.

Additional information

Reddit thread with other users experiencing & complaining about the same bug: https://www.reddit.com/r/codex/comments/1tl8a5d/anyone_else_seeing_their_codex_chats_disappear/

Avnsx avatar Jun 02 '26 19:06 Avnsx

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #25268

Powered by Codex Action

github-actions[bot] avatar Jun 02 '26 19:06 github-actions[bot]

@codex

What version of the IDE extension are you using?

Codex – OpenAI’s coding agent v26.602.40724

What subscription do you have?

ChatGPT Pro 229 € / month

Which IDE are you using?

VS Code

What platform is your computer?

Microsoft Windows 11 Home 25H2 26200.8524 1000.26100.315.0

What issue are you seeing?

Every now and then, but I have counted several times already, I send a prompt to my queue and it vanishes. It happens while Codex is working on a previous prompt and has not finished yet. That is very frustrating cause this has forced me to re-write many long prompts and now I have to copy them all before sending them to prevent the Codex extension to make me lose them...

jhernanper avatar Jun 06 '26 13:06 jhernanper

@etraut-openai Please add server-side message queueing, I believe it's the same problem with the client-side caches sporadically having issues?

Avnsx avatar Jun 09 '26 18:06 Avnsx

Same problem here. Please fix!

supersekai64 avatar Jun 26 '26 18:06 supersekai64

Hi Codex team @codex @openai,

I am seeing what appears to be the same issue reported in this thread: queued follow-up prompts sent while Codex is actively working sometimes disappear instead of being reliably added to the queue.

After comparing my setup with the setup reported by the original poster, this no longer looks like an issue limited to Remote-SSH or to a specific VS Code Server version.

My setup:

  • VS Code Remote-SSH
  • VS Code Server: 1.128.0
  • Codex extension: [email protected]
  • Remote OS: Debian Linux

The logs in my case repeatedly show:

[IpcClient] Received broadcast but no handler is configured method=thread-queued-followups-changed [IpcClient] Received broadcast but no handler is configured method=thread-stream-state-changed [IpcClient] Received broadcast but no handler is configured method=query-cache-invalidate

remoteexthost.log also shows:

PendingMigrationError: navigator is now a global in nodejs

I tried the usual cleanup steps for a possible Remote-SSH / extension state mismatch:

  1. Uninstalled the Codex extension from the remote SSH host.
  2. Reinstalled the Codex extension on the remote SSH host.
  3. Confirmed that the Codex extension version is the same locally and remotely.
  4. Killed / restarted the VS Code Remote-SSH server.
  5. Reconnected to the remote host.
  6. Reloaded the VS Code window.
  7. Retested by sending multiple follow-up prompts while Codex was actively processing a turn.

The issue still reproduced after those steps. Some follow-up prompts were queued, but others appeared to be submitted and then disappeared.

However, the original report in this thread uses a different environment:

  • Cursor version: 3.6.31
  • VS Code Extension API: 1.105.1
  • OS: Windows_NT x64 10.0.26200
  • Codex extension: [email protected]

That makes this look broader than my specific Remote-SSH setup. Remote-SSH may make the issue more visible in my case, and the navigator migration error may be additional noise or a related activation problem, but the core symptom seems to be the same: queued follow-up prompts are not being reliably persisted or rendered in the thread queue.

This may point to a race or state synchronization issue in the Codex extension queue handling, possibly between the extension UI/webview, IPC broadcasts, query cache invalidation, and the thread queue state.

Expected behavior:

All follow-up prompts sent while Codex is working should be reliably added to the queue and remain visible in the UI.

Actual behavior:

Only some follow-up prompts are queued. Others briefly appear to be submitted but then disappear and are not added to the thread.

This is especially disruptive for long-running Codex tasks, because queuing follow-up instructions is a core workflow feature. Without a reliable queue, users have to wait for each turn to finish before safely sending the next instruction.

Could the Codex team confirm whether this is a known issue, and whether there is a fixed extension version or recommended workaround for VS Code / Cursor users?

jhernanper avatar Jul 09 '26 13:07 jhernanper

@Avnsx Did you get this issue fixed? Would you mind editing the start of this thread's title to "Cursor/VS Code"? Thanks!

jhernanper avatar Jul 09 '26 16:07 jhernanper

Not fixed.. waiting for OpenAI.

Avnsx avatar Jul 09 '26 21:07 Avnsx

Same problem

AndreasKaratzas avatar Jul 12 '26 07:07 AndreasKaratzas

@supersekai64 @AndreasKaratzas Could you please share your Setup and what your logs say, in a similar way as I did? That could help us research on this as @codex team doesn't seem to care...

jhernanper avatar Jul 13 '26 19:07 jhernanper

Confirming this is still reproducible on a current VS Code extension build.

Environment:

  • VS Code 1.128.1 (x64)
  • [email protected]
  • Windows x64
  • Local VS Code workspace (not Remote-SSH)

Reproduction:

  1. Start a long-running agent turn in the Codex VS Code extension.
  2. While the agent is still actively working, submit a follow-up message.
  3. Intermittently, the message is swallowed: it never remains visible as queued/sent, never appears in the conversation context, and the agent does not receive it. No user-facing error is shown.

Observed on 2026-07-17: I sent a detailed follow-up about a favicon/PWA change while the agent was working. The message was absent when the agent later checked the conversation, so I had to resend it.

Expected: once Enter is pressed, the follow-up should be durably queued and remain visible. If queueing fails, the editor should preserve the text and show an explicit retryable error instead of silently discarding it.

This makes it unsafe to send follow-ups during long-running turns and forces users to keep external copies of prompts.

kotkrinik-source avatar Jul 17 '26 11:07 kotkrinik-source

This is unacceptable, not only it loses the last sent prompt, I just saw it clears the entire queue so then when you come back, you see none of the queued prompts were done. How hard it is to do this, they are not even on the server side, so it should be easy to save the queue locally. OpenAI should provide limit reset anytime this happens. It causes loss of work.

orionflame avatar Jul 19 '26 07:07 orionflame

Experience the same issue, on Windows, Mac, and Linux systems I run on. Slows down development significantly.

stevenblum avatar Jul 21 '26 19:07 stevenblum

My experience is that it 'swallows' or loses your prompt when it's just posting a 'thinking' or moving to a new step. it's not all the time, it's rare, and but it seems to happen when the chat log is active - something is just being added to it.

So, for long complex 'steering' prompts, it is safest to ctrl-c before you post them; because you could accidentally enter them 'just' as an update happens, and then they get lost **.

i don't have proof for this as it is so intermittent, but it is what i've begun to assume.

This has been around for awhile, a few months or so.

windows 11, vscode 1.130, 26.5721.30844

[** edit: as other have reported, they often seem 'lost' but will re-appear unexpectedly as very delayed steering prompts, minutes later. So if you re-send them, you'll be doubling up your steering, which often codex just considers and shrugs off but does cause extra wasted analysis]

Chalicotherium avatar Jul 24 '26 07:07 Chalicotherium

Same as above, I can reproduce this very easily. Its definitely when the agent is "Thinking" or running commands as mentioned before. I often find myself thinking about follow-ups right after sending a prompt so I experience this all the time. It does queue it for a small amount of time before disappearing so I sometimes find myself playing the "click the steer button before it disappears" game 😄

MacOS Tahoe 26.5.2, vscode 1.130.0

devodev avatar Jul 24 '26 13:07 devodev

It seems to have some strange behaviour. I've had instances of this happening where the prompts have disappeared and re-emerged later in the conversation, which has recently caused me significant inconvenience. Like others, I have experienced this on Windows and MacOS.

CorieW avatar Jul 24 '26 13:07 CorieW

Well copy paste trick only works if you have only a single item in the queue, otherwise when it loses the entire queue, you are SOL. And forcing copy paste reduces trust in the tool. They have unlimited tokens but they can't fix this trivial bug?

orionflame avatar Jul 24 '26 13:07 orionflame

Same thing on Code Insider's Window (1.131.0-insider) and latest codex (v26.5721.30844)

https://github.com/user-attachments/assets/b8479714-fc09-48bb-b249-220fef5a1420

yaronelh avatar Jul 25 '26 16:07 yaronelh

For me as of today it no longer happens (so far).

UPDATE: It still happens. Before though, a queued message would disappear immediately, now I have about 2 seconds to force steer it before it disapears.

AndreasKaratzas avatar Jul 28 '26 18:07 AndreasKaratzas

Ok. What I have found is, I can't use the latest codex (26.7*) as it breaks all my multi-root projects and forgets all my chats. So I need to use the previous one, which sucks up all my steering prompts and doesn't acknowledge them. But if you have faith, type in your steering, just accept it will steer 'after it is finished', then all is good. **

Since steering was such a powerful yet fragile feature, having that visual confirmation was reassuring. But the bug is just the visual confirmation it seems, it still does it, just doesn't confirm it, or maybe execute when you expect.

** or not. often, most often, not

Chalicotherium avatar Jul 28 '26 22:07 Chalicotherium

I also sort of suspect nobody at openai is using vscode which is why it is neglected.

Chalicotherium avatar Jul 28 '26 22:07 Chalicotherium