Codex VS Code Extension – Diff view fails to open
Resolved 💬 11 comments Opened Jul 29, 2026 by rplocinski Closed Aug 5, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Codex VS Code Extension – Diff view fails to open
Extension
- OpenAI Codex (
openai.chatgpt) - Version: 26.721.41059
VS Code
- Version: 1.131.0
- macOS 15.5 (Darwin arm64 25.5.0)
- Apple M4 Pro
Steps to reproduce
- Open a repository in VS Code.
- Use the Codex panel to modify files.
- Wait until Codex finishes and displays the list of changed files.
- Click any changed file (e.g.
README.md) or click Review.
Expected behavior
The full Codex Diff view opens and displays the file diff.
Actual behavior
The Codex Diff tab opens but immediately shows:
An error occurred
or
Missing diff tool
The full diff cannot be displayed.
Additional observations
- Hovering the mouse over a changed file shows the diff preview correctly.
- The problem only affects the full Codex Diff / Review view.
- Native VS Code diff works normally.
git,diffandopendiffare installed and available.
git: /opt/homebrew/bin/git
diff: /usr/bin/diff
opendiff: /usr/bin/opendiff
Browser/WebView console
The WebView console reports:
Thread context is unavailable for non-thread routes
Stack trace points to the React WebView used by the Diff page.
Notes
This appears to be a regression in the VS Code extension's Diff/Review view rather than an issue with Git, the repository, or the operating system. The diff preview works, but opening the full review page consistently fails.
11 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Confirmed on Windows as well.
The full Codex Diff/Review view fails consistently, while VS Code itself, the workspace, and native diffs work normally. The extension log records:
Fully restarting VS Code and opening the actual Git repository directly (rather than its non-Git parent directory) did not help. This appears to be the same cross-platform Diff/Review regression.
Thanks for reporting the issue. We have a fix in place, and it will be included in the next release.
wen fix
I have the same issue
Switch to Pre Release Version, it's ok now.
have the same issue
🤔
Did you restart or reload window after install pre-release version.
The pre-release version 26.5730.61639 works fine to me and my friend.
Can confirm — same issue here, also 100% reproducible on every diff, every file, every project.
Last known working version: 26.715.61943
First broken version I hit: 26.721.30844 (still broken on 26.721.41059 and 26.727.40816)
Same error as reported: full Review/diff page crashes with "Oops, an error has occurred", while the inline diff preview in the chat/conversation still renders fine.
Console stack trace:
The error repeats through several nested ErrorBoundary wrappers, all originating from
editor-diff-page-*.js, consistent with the routing/thread-context regression already described.Already tried and ruled out (not the cause): reloading the window, signing out/in, testing in a completely empty workspace, Workspace Trust/Restricted Mode. Unrelated console noise also ruled out: Sentry quota-drop warnings and GitHub Copilot's
managed_settings/mcp_registry404s.Current workaround: pinned to 26.715.61943 with auto-update disabled.
Given this breaks a core everyday workflow (reviewing Codex's edits), would be great to get a status update — is this actively being worked on?
For version 26.5730.61639 is ok
This is fixed in the prerelease version. It will be fixed in the next production release.