Unable to Delete Older Codex Chats

Open 💬 3 comments Opened Aug 5, 2026 by cilerler
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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

26.730.61309

What subscription do you have?

Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

As shown in the attached screenshot, older Codex chats cannot be deleted. While a trash icon appears next to newer chats, it is missing from the older ones. Furthermore, clicking Delete All fails to remove these legacy chats.

<img width="1562" height="1038" alt="Image" src="https://github.com/user-attachments/assets/6cbc08d5-979b-4beb-a024-2d9f395ce337" />

What steps can reproduce the bug?

Feedback ID: no-active-thread-019fd03d-d3ee-7290-bfca-4cdecc02b374

What is the expected behavior?

Be able to delete the old chats.

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 23 days ago

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

  • #36520
  • #36563

Powered by Codex Action

Ougo12 · 7 days ago

I had the same issue on Windows.

The chat was still shown in Recent, but its rollout file no longer existed. Removing it from session_index.jsonl alone was not enough.

What worked was removing the same thread ID from:

.codex\session_index.jsonl
.codex\state_5.sqlite → threads
.codex\sqlite\codex-dev.db → local_thread_catalog

After restarting Codex, the stuck chat disappeared.

Make backups first and only delete the exact affected thread ID.

cilerler · 6 days ago

Thanks for chiming in, @Ougo12, but what you're describing is different from my issue. These are not showing up in Recent at all.