`/resume` not showing the thread name.

Resolved 💬 11 comments Opened Apr 5, 2026 by PanJason Closed Apr 14, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

codex-cli 0.118.0

What subscription do you have?

ChatGPT Plus

Which model were you using?

gpt-5.4

What platform is your computer?

Linux 6.8.0-100-generic x86_64 x86_64

What terminal emulator and version are you using (if applicable)?

zsh

What issue are you seeing?

#10315 said now we can see the thread name in resume but with the latest codex version I did not see it in my terminal.

What steps can reproduce the bug?

  1. Open Codex TUI. Use /rename to rename a session. In my case, I renamed it to AppWorldBenchmark and could be seen in /status

<img width="675" height="57" alt="Image" src="https://github.com/user-attachments/assets/843a9aeb-81c3-441f-97c4-b244df00bbcb" />

  1. Then I used /resume to see all of my sessions, but there is no column showing the changed Thread name as expected.

<img width="2030" height="386" alt="Image" src="https://github.com/user-attachments/assets/21453795-48f4-4d23-9542-20802c4907b5" />

Simply the conversation gists which are barely useful I think

Uploaded thread: 019d5f84-a2e8-7f13-af7c-cd98c209731c

What is the expected behavior?

/resume should show Thread name for better identification. At least the Thread name can be used for search.

Additional information

_No response_

View original on GitHub ↗

11 Comments

github-actions[bot] contributor · 3 months ago

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

  • #16562
  • #16405
  • #16280
  • #16291

Powered by Codex Action

PanJason · 3 months ago

Check the proposed sessions. Different from cases:

  • #16582 describes resume after exiting the session. In my case, I am within the TUI without exit.
  • #16291 is a good feature to have. I agree with it.

The other two are internal behavior, not related to my use-visible phenomenon.

etraut-openai contributor · 3 months ago

I'm not able to repro the problem as described. When I rename a thread, the updated name appears as expected in the resume session picker.

You mentioned that you're using /resume to see all of your sessions, but this command intentionally filters your sessions based on the cwd (i.e. the project directory where you launched the CLI). If you want to resume a session from a different project, you can quit the CLI, then switch to that directory and use codex resume. Does that explain the behavior you're seeing?

PanJason · 3 months ago

@etraut-openai Thanks for your response. I guess I forgot to mention that I forked the session before and renamed it. Thus, I effectively have many sessions based on the cwd (cuz each session serves different purposes, though I am not sure if this is the intended usage) and I was switch among them using /resume. I was expecting that /resume would show different Thread names after I renamed the forked session.

Can you reproduce based on my description? Do you need some other material for better understanding?

etraut-openai contributor · 3 months ago

I'm not able to repro. Here's what I tried:

  1. Launch CLI. Issue a simple prompt ("1+1").
  2. Use /fork. Issue a new command ("2+2"). Use /rename to rename this fork something else ("Addition").
  3. Use /resume to select the original session. Use /fork. Issue a new command ("3-2"). Use /rename to rename this fork "Subtraction".
  4. Use /resume and observe that there are now three resumable sessions including one named "Addition" and another named "Subtraction".
PanJason · 3 months ago

@etraut-openai Thanks for your response. I did the same test. And what I found, a bit strange to me:
I did the same test as you did on my Linux vm server and my macOS. And I just did 1 and 2 as in your steps.

  • On my macOS, I saw the correct things. The conversation column showed the changed name (if this is the intended behavior)

<img width="433" height="94" alt="Image" src="https://github.com/user-attachments/assets/f353c07f-855c-482e-8336-62ac0024a76a" />

  • On my linux server, I saw the wrong things. The conversation column did not change:

<img width="440" height="110" alt="Image" src="https://github.com/user-attachments/assets/93414c2c-65ce-4a88-9f1d-bcc469ff9953" />

Status seem to be fine in both cases:

  • On my macOS:

<img width="563" height="352" alt="Image" src="https://github.com/user-attachments/assets/15ade1fa-da6a-4072-8e7b-e3f953d3595c" />

  • On my linux:

<img width="563" height="332" alt="Image" src="https://github.com/user-attachments/assets/7bb1b321-00a5-4d53-b099-6c0cead86290" />

Do you have some ideas where I should check? Or I can do some investigation over what files /rename changes and /resume reads. I suspect it can a permission issue.

Also another bug I encountered is that if you select the current session in /resume, codex will simply exit. Shall I create another issue about this bug?

etraut-openai contributor · 3 months ago

The bug related to resuming the current session is a known issue and will be fixed in the next release, so no need to log another issue.

If you resume a renamed thread on your Linux machine after quitting and restarting the CLI, does /status show the new name, or does it revert back to the original thread name? I'm guessing that it will revert back, which means that there must be a persistence issue. The thread metadata (including the new name) should be persisted to the file CODEX_HOME/session_index.jsonl. You can look at that file to see if it's being updated after the /rename.

KarolisRam · 3 months ago

A "fix" that works for me on Ubuntu CLI is to maximize and restore back the terminal window. Win+up, Win+down, thread names are back, problem solved. If it works, it's not stupid!

PanJason · 3 months ago
If you resume a renamed thread on your Linux machine after quitting and restarting the CLI, does /status show the new name, or does it revert back to the original thread name? I'm guessing that it will revert back, which means that there must be a persistence issue.

It did not revert back.

The thread metadata (including the new name) should be persisted to the file CODEX_HOME/session_index.jsonl. You can look at that file to see if it's being updated after the /rename.

It is indeed in CODEX_HOME/session_index.jsonl

@etraut-openai I spent some time to understand the codex arch. On both my ubuntu machine and my macOS desktop, the live local app-server returns the same thing with

      - preview: "1+1=?"
      - name: "addition"

But the ubuntu client picker somehow, which I did not understand why yet, skipped the cache entry insertion and let to a None in

let thread_name = self.thread_name_cache.get(&thread_id).cloned().flatten();

which did not happen on macOS.

The only thing I can hypothesize is that they are not using the same commit for building?

Latest commit

Then on my Ubuntu server, I tested it with the latest commit. The latest commit works well so I guess we just need to wait for the next release then see if we can close this issue.

PanJason · 3 months ago

This is fixed in the newest release. I am closing this issue.

stevemarksd · 8 days ago

I still have this issue on latest codex cli. So it's not really fixed. OpenAI Codex (v0.144.1)