branch indicator often stale or missing

Resolved 💬 3 comments Opened Apr 13, 2026 by carljm Closed Apr 26, 2026
💡 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)?

Version 26.325.31654 (1272)

What subscription do you have?

Pro

What platform is your computer?

Darwin 24.6.0 arm64 arm

What issue are you seeing?

I use a fixed set of pre-created worktrees of my repo, with each worktree set up as a separate "project" in the Codex app. When I go to start a new thread in one of those worktree "projects", I usually update the branch checked out in the worktree first, to the branch that I want to work on / review. But when I go to create a new thread in the Codex app, the branch indicator in the lower right (below the text entry box) is more often than not stale (reflecting some branch that was previously checked out in that worktree, but not the currently checked out branch), and I have to manually select the right branch before starting the thread. Sometimes there is no branch shown there at all, which means I'm lacking the UI affordance to even select a branch. I so far haven't been able to figure out any correlations as to when the branch is missing vs shown.

What steps can reproduce the bug?

  1. Create a new worktree of a git repository, and set up that worktree as a project in the Codex app.
  2. Check out a new branch in that worktree.
  3. Click the "Start a new thread in..." button in the left sidebar for that project.
  4. The branch indicator in lower right may be missing entirely, or show a branch that isn't the currently checked-out branch.

What is the expected behavior?

The behavior I'd hope for is that the currently-checked-out branch is always consistently shown in the UI.

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 4 months ago

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

  • #16525
  • #16290
  • #16187

Powered by Codex Action

carljm · 4 months ago

None of those look like duplicate issues.

carljm · 4 months ago

Closing this issue, since my observation is that in recent Codex versions (within the last week?) this issue no longer reproduces for me; the branch indicator is now consistently up to date. Since no one else has chimed in on this issue and it's based purely on my own observations, which I can no longer reproduce, I'll close.