Skip to content

Codex Desktop local changes indicator stays stale after successful push #29402

Open

Description

@inspiredorange

What version of the Codex App are you using?

26.616.51431 (build 4212)

What subscription do you have?

ChatGPT Plus

What platform is your computer?

macOS 26.6 (Build 25G5028f), Darwin 25.6.0, x86_64

What issue are you seeing?

The Codex Desktop app's visual indicator for local repository changes did not refresh to zero after a successful commit and push.

In the same Codex session, an agent committed all open changes on main and then pushed successfully to origin/main. The underlying git state was clean and synchronized afterwards, but the Codex app UI still showed local changes as if there were pending changes. The visual counter only updated to 0 after switching away to another context and then switching back.

This makes the repository state shown by the app look stale or incorrect after an agent-driven Git workflow.

What steps can reproduce the bug?

  1. Open a local Git repository in Codex Desktop on macOS.
  2. Ensure the UI is showing local changes.
  3. Have Codex commit all open changes.
  4. Have Codex push the current branch to the remote.
  5. Verify in the terminal that the push succeeded and the local branch is in sync with the remote.
    • In this observed case, git status --short --branch returned ## main...origin/main with no pending changes.
  6. Observe the Codex Desktop visual local-changes indicator.
  7. Switch to another Codex context/thread/workspace and then switch back.

What is the expected behavior?

After a successful push leaves the worktree clean and the local branch synchronized with the remote, the visual local-changes indicator should refresh automatically and show 0 without requiring a context switch or manual UI refresh.

What actually happened?

The UI continued to show a non-zero local-changes indicator after the successful push, even though Git reported a clean synchronized state. The indicator corrected itself only after switching to another context and then back.

Additional information

Observed repository state after push:

$ git push origin main
To https://github.com/inspiredorange/CouchControl.git
   8581f76..89abdba  main -> main

$ git status --short --branch
## main...origin/main

Workaround: switching to another context and back causes the UI indicator to refresh to 0.

This looks like a stale UI state / repository-status refresh issue after agent-initiated git push, not a Git failure.

Activity

  1. added
    bug
    app
    on Jun 22, 2026
  2. cyberpunx777 commented on Jun 26, 2026

    @cyberpunx777

    I can confirm seeing the same stale local-changes indicator behavior as well.

    The underlying Git state can be clean while the Codex Desktop UI still shows pending changes until the context is refreshed. It would be great to see this fixed soon, since it makes the app’s repository state indicator harder to trust during normal commit/push workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions