Codex Desktop: pressing Enter occasionally sends the same message multiple times
Open 💬 7 comments Opened Apr 25, 2026 by mushan0x0
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Summary
In Codex Desktop, hitting Enter once in the chat composer occasionally dispatches the same message 2-3 times. Confirmed it's not a hardware double-keypress — only happens in Codex Desktop, never reproduces in other apps with the same keyboard.
Symptoms in logs
Around the same window the desktop log shows a flood of:
[electron-message-handler] Request failed
error={"code":-32600,"message":"thread not found: <id>"}
method=thread/backgroundTerminals/clean
[electron-message-handler] Received turn/started for unknown conversation
conversationId=<id>
Suggests internal thread/conversation state can get out of sync, after which the UI re-submits.
Expected
A single Enter dispatches exactly one message.
Environment
- Codex Desktop 0.125.0-alpha.3
- macOS 26.4.1 (arm64)
7 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Have the same issue.
A somewhat unreliable tip: if I press the spacebar a few more times after each input, and wait a few seconds, and then press enter, it seems to avoid the problem (or greatly reduce the probability of it happening).
same
I hit this again in Codex Desktop.
Feedback ID: 019eeea3-43f5-7283-8806-440b7a0e5ce1
Behavior:
Version:
This seems related to #19529 / #22409 / #22298.
I reproduced this on macOS with Codex.app 26.623.41415 (build 4505) on 2026-06-27.
Additional log evidence:
turn/startresponses for the same conversation only 1 ms apart, with distinct request IDs.expected active turn id <A> but found <B>, confirming that two turns were competing for the same client state.turn/start.This looks like a Codex Desktop composer/thread-state race rather than a hardware Enter-key repeat. I have intentionally omitted local paths, conversation IDs, and request IDs from this public comment.
I am encountering this issue too, every day. I use the VS Code Codex extension.