openai / openai/codex

Reopen the chat history, only showing the first message I sent

Open
#40,522 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug session windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of the Codex App are you using (From “About Codex” dialog)?

Windows Desktop - Version 26.818.41509

What subscription do you have?

GPT Plus

What issue are you seeing?

When I open the history of a project in Codex, I expect to see the full conversation record, but in fact, I can only see the first message I sent. I checked the contents under ~/.codex/sessions/, and the rollout JSONL is complete.

Also, one thing to note is that if I have two conversations, A and B, as long as I don't close Codex, I can switch between them freely without losing the chat history. But after restarting Codex, the records of both conversations can't be displayed properly.

What steps can reproduce the bug?

codex resume 01a0332c-0209-70e0-b259-2feb86767c52

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 running codex resume 01a0332c-0209-70e0-b259-2feb86767c52 after restarting Codex and compare the displayed history with the complete rollout JSONL under ~/.codex/sessions/. Trace the history-loading path to determine why only the first sent message is shown; done means previously saved conversations display fully after restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.