Codex Desktop review pane shows empty diffs for committed last-turn edits while chat card still shows changed files
Component
Codex Desktop app on Windows
Version
Windows package: OpenAI.Codex_26.623.13972.0_x64__2p2nqsd0c76g0
Summary
After Codex edited three Markdown files, committed the changes, pushed them, and verified that the Git working tree was clean, the conversation still showed a "3 files edited" card with non-zero line counts. Clicking Review opened the review pane, but each listed file showed +0 -0 and No contents.
This is confusing because the chat-side edited-files summary still presents the changes as reviewable, while the review pane renders an empty working-tree diff.
Reproduction
- In Codex Desktop on Windows, run a local thread in a Git repository.
- Have Codex edit multiple files.
- Have Codex commit and push those edits.
- Confirm from the terminal that the repository is clean:
git status --short --branchshows only the branch/upstream line.git diff,git diff --cached, andgit ls-files -mare empty.
- In the Codex conversation, observe that the previous assistant message still displays an edited-files card with the edited files and non-zero added/deleted line counts.
- Click Review on that card.
Expected behavior
Either:
- the chat-side edited-files card should clearly indicate that the changes were already committed/pushed and are no longer present in the working tree, or
- Review should show the last-turn/committed diff that the card is summarizing, or
- the Review button should not imply that there is still a non-empty working-tree diff to review.
Actual behavior
The chat-side card displayed three edited files with non-zero stats, but the Review pane listed the same files with +0 -0 and No contents for each file.
Local verification
Git reported a clean tree after the commit/push:
git status --short --branch
## master...origin/master
git diff --numstat
# empty
git diff --cached --numstat
# empty
The last commit did contain the expected three-file diff:
3 files changed, 49 insertions(+), 13 deletions(-)
The line counts shown in the chat-side card did not exactly match the final commit stats, suggesting the card may be using internal edit telemetry from the turn while the Review pane uses the live uncommitted Git diff.
Notes
I am intentionally not attaching screenshots because they include local/private project names. The visible UI state was: conversation card shows edited files and non-zero line counts; Review pane shows the same file list with +0 -0 and No contents.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗