codex - 💡(How to fix) Fix Review panel stays on "Loading diff" and never renders file diffs for unstaged changes [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#18098Fetched 2026-04-17 08:33:01
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×4closed ×1commented ×1subscribed ×1
RAW_BUFFERClick to expand / collapse

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

Codex 26.409.61251

What subscription do you have?

pro

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What issue are you seeing?

<img width="569" height="260" alt="Image" src="https://github.com/user-attachments/assets/d8c82d96-33fd-46fd-9bc6-a7ce805e62d9" />

When opening the Review tab in Codex, file entries never render their diffs and stay stuck on Loading diff.

What I tested:

Unstaged tracked file change: README.md Unstaged untracked file: TEMP_REVIEW_TEST.md Previously also tested normal text files like scripts/version.py and tests/test_version.py Observed behavior:

The Review tab lists the files correctly Each file shows Loading diff The diff content never appears Examples from the UI:

README.md -> Loading diff TEMP_REVIEW_TEST.md -> Loading diff

What steps can reproduce the bug?

Open a local Git repository in Codex on Windows. Make an unstaged change to a tracked text file, for example edit README.md. Optionally create an untracked text file, for example TEMP_REVIEW_TEST.md. Open the Review tab in Codex. Look at the file entries under unstaged changes. Expected:

Codex renders the diff for each changed file. Actual:

The files appear in the list, but each one stays on Loading diff indefinitely. No diff content is shown. Minimal reproduction example:

In a Git repo, modify a tracked file: README.md

  • <!-- TEMP_REVIEW_TEST: unstaged tracked-file change -->

Leave it unstaged. Open Codex Review. The file is listed, but the panel never shows the diff. Notes:

git diff in the terminal works normally for the same files. This also reproduces for an untracked text file, not just tracked files. I do not have the Codex session id, token usage, or context window usage from the UI to provide.

What is the expected behavior?

In the Review tab, Codex should render the actual Git diff for changed files instead of staying on Loading diff.

For example:

For an unstaged tracked file like README.md, it should show the added/removed lines. For an unstaged untracked text file like TEMP_REVIEW_TEST.md, it should show the file contents as a new-file diff. The diff should appear within a few seconds and remain viewable without needing to restart Codex.

Additional information

No response

extent analysis

TL;DR

The issue with Codex not rendering diffs in the Review tab for unstaged changes may be related to a bug in the current version, and a potential workaround could involve checking for updates or resetting Codex settings.

Guidance

  • Verify that the issue persists after restarting Codex to rule out any temporary state issues.
  • Check the Codex version against any known issues or release notes for version 26.409.61251 to see if this is a recognized problem.
  • Consider testing the same workflow in a different Git repository to isolate if the issue is specific to the current repository or a broader Codex problem.
  • Since git diff works normally in the terminal, the issue seems specific to Codex's integration with Git, suggesting a potential problem in how Codex is handling Git diffs internally.

Example

No specific code example can be provided without more details on Codex's internal workings or APIs.

Notes

The lack of session id, token usage, or context window usage from the UI limits the ability to provide a more targeted fix. Additionally, without direct access to Codex's codebase or documentation, the guidance is based on general troubleshooting principles.

Recommendation

Apply workaround: Given the information, a workaround such as checking for updates to Codex or resetting its settings might be necessary until a fix is available, as the issue seems to be with Codex's functionality rather than the Git repository itself.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Review panel stays on "Loading diff" and never renders file diffs for unstaged changes [1 comments, 2 participants]