openai / openai/codex

Codex Desktop: newly composed message disappears after submission

Open
#45,311 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

app app-server bug
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

Codex Desktop 26.908.40834 (8881); macOS 26.5.2 (25F84), arm64.

Observed

A long new message, typed directly in the composer of an existing thread, disappeared after submission. No existing message was edited. The assistant continued without the new instruction; Undo did not restore it.

Unexpected desktop log sequence:

2026-09-13T23:02:28.639Z method=thread/revert errorCode=null
2026-09-13T23:02:28.791Z method=turn/start errorCode=null
Investigation lead (unconfirmed)

Why a new-message submission coincided with thread/revert is unknown. Static inspection found that the separate edit handler discards replacement text when the original params.input contains no text item; its draft is cleared after submission resolves. Whether that handler was involved in this incident is unconfirmed. No end-to-end reproduction.

Expected

Submit the new message without reverting existing history. On failure, retain the draft and display an error. Preserve a recoverable copy until message persistence is confirmed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the new-message submission alongside the logged thread/revert and turn/start calls, then inspect the separate edit handler and its handling of params.input with no text item. Done means a new message does not revert existing history, failed submission retains the draft and shows an error, and a recoverable copy remains until persistence is confirmed.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.