Codex VS Code extension drops sometimes follow-up prompt submitted while agent is still running

Open 💬 10 comments Opened Jul 4, 2026 by egloffmark

Codex VS Code extension drops follow-up prompt submitted while agent is still running

When using the Codex VS Code extension, I sometimes type a follow-up prompt into the same active agent/thread while Codex is still working. When I press Enter, the input appears to be submitted, but it disappears and is not processed after the current agent step finishes.

Expected behavior:
The follow-up prompt should either be queued visibly, sent after the current turn completes, or remain in the composer if it cannot be submitted yet.

Actual behavior:
The typed follow-up prompt is lost after pressing Enter.

Reproduction:

Open VS Code with the Codex extension.
Start an agent task that takes long enough to remain visibly active.
While the agent is still working, type a follow-up prompt in the same Codex thread.
Press Enter.
Observe that the prompt disappears and is not processed.

Remark: It happens not every time, may be from 10 times it happens once.

Environment:

OS: Observed at Windows 11 as well as under Linux Ubuntu Desktop and Linux Mint
VS Code version: 1.127.0
Codex Plugin Version : 26.623.101652
Electron: 42.2.0
ElectronBuildId: 14159160
Chromium: 148.0.7778.97
Node.js: 24.15.0
V8: 14.8.178.14-electron.0
OS: Linux x64 6.8.0-124-generic

View original on GitHub ↗

10 Comments

hansfl14 · 1 month ago

This issue is affecting my Codex client as well. I find that it happens 100% of the time when completing a tooling action.

hitchhiker · 1 month ago

Also seeing this, and it is still present on a newer build.

Environment

  • Codex VS Code extension: 26.707.41301 (newer than the 26.623.x in the report above)
  • OS: Windows 11

What I see
After I post a message it sometimes vanishes from the composer as if submitted, but is not processed. It is intermittent, not every time. Two distinct outcomes:

  • Sometimes the message reappears in the stream a bit later and does get handled.
  • Other times it is gone for good and never comes back.

This matches the follow-up-while-the-agent-is-running scenario described here, and lines up with the queued/stuck behaviour in #26683. Flagging that it reproduces on 26.707.41301, so it is not fixed in the latest release.

mylyu · 1 month ago

I am having the same problem. 100% times.

Hung-Kun-Chien · 1 month ago

I can reproduce this consistently in a VS Code Remote-SSH → Docker Dev Container environment.

Environment:

  • Windows client
  • VS Code 1.128.0, commit fc3def6774c76082adf699d366f31a557ce5573f
  • Codex extension 26.707.41301 on both the local VS Code host and the remote Dev Container
  • Bundled Codex CLI 0.144.0-alpha.4
  • Model gpt-5.6-sol
  • Remote extension host: Linux x86_64 in a Docker Dev Container

Observed behavior:

  1. Start a long-running Codex turn.
  2. While it is still running, enter a follow-up prompt.
  3. Submit the prompt.
  4. The composer is cleared within approximately 250 ms.
  5. No queued-message entry is created, and the prompt is never processed.

Sometimes the prompt briefly appears and then disappears. The original turn continues running normally.

Relevant sanitized log pattern during reproduction:

[IpcClient] Received broadcast but no handler is configured method=thread-stream-state-changed

These warnings can occur in large bursts while the active turn and background agents continue producing reasoning events.

Additional isolation performed:

  • Local and remote extension versions were aligned to 26.707.41301; the problem still reproduced.
  • No ECONNRESET, timeout, or Remote Extension Host disconnect occurred during the latest recorded reproduction.
  • Downgrading the remote extension to 26.5623.101652 made queued follow-ups work again in the same environment.
  • However, that older version cannot use gpt-5.6-sol and reports that a newer Codex client is required.
  • Returning both local and remote sides to 26.707.41301 reproduced the disappearing follow-up again.

This suggests that the composer clears optimistically before receiving a durable enqueue acknowledgement, while the thread-state/IPC consumer is desynchronized or missing its handler.

Expected behavior:

  • Clear the composer only after the follow-up has been durably queued, or
  • Restore the prompt and show an explicit error if enqueue fails.

I have short screen recordings showing the composer clearing without a queue entry and can provide sanitized logs if useful.

88um · 1 month ago

having sam eissue

petterip · 1 month ago

Same, irritating issue.

petterip · 29 days ago

Adding detail to my earlier confirmation: follow-up messages sometimes disappear after I press Enter while Codex is working, with no indication whether they were accepted.

This directly wastes usage quota. Lost instructions require resending and often repeating work, while delayed delivery can duplicate work that was already restarted.

ozhang3 · 25 days ago

same here using pre-release version 26.5727.51351

ozhang3 · 24 days ago
same here using pre-release version 26.5727.51351

although i'd like to add that it doesn't alwasy fail, The follow-up seemed to get through when the agent is not busing churning out results.

akospaska · 16 days ago

Same issue here.