Codex not showing diff
Open 💬 5 comments Opened Jul 24, 2026 by garzastrabajo
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the IDE extension are you using?
26.721.30844
What subscription do you have?
Plus
Which IDE are you using?
Vs code
What platform is your computer?
_No response_
What issue are you seeing?
I cant´t see the codex diff , i click the button "Review" to see what have changed but this "Oops, an error has occurred" appears in the screen whit a button with the text "try again" I click it and the window changes showing me in the screen "No diff available"
What steps can reproduce the bug?
.
What is the expected behavior?
_No response_
Additional information
_No response_
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I hit the same regression on Windows in VS Code.
Broken version:
openai.chatgpt@26.721.30844
Behavior:
Clicking the Codex Review button opens the “Codex Diff” tab, but the webview crashes with:
“Oops, an error has occurred. Try again.”
Repo state:
The underlying git diff is valid and small. VS Code Source Control diff works. The command-line git diff also works.
Workaround:
Downgrading the OpenAI/Codex VS Code extension to a build from about two weeks earlier immediately fixed the Review button. After downgrade, the same repository diff renders correctly.
This looks like a regression in the Codex Diff / Review webview in the newer extension build.
I can reproduce this on a newer extension build.
Environment:
26.721.41059(openai.chatgpt, Linux x64 remote extension)1.131.0Minimal reproduction:
README.md.git diff --checksucceeds and VS Code's built-in Source Control diff renders correctly.Reviewbutton for the edit.Observed behavior:
Oops, an error has occurred; retrying showedNo diff available.Developer: Reload Windowdid not fix it.PendingMigrationError: navigator is now a global in nodejs, originating fromopenai.chatgpt-26.721.41059-linux-x64/out/extension.js."extensions.supportNodeGlobalNavigator": trueto the WSL machine settings removedPendingMigrationErrorafter reload. The Codex Diff tab now goes directly toNo diff available, but the underlying Codex renderer error remains.Relevant
Codex.logentry after the navigator error was eliminated:This appears isolated to the Codex Diff webview/route rather than Git or the workspace diff, since the same working-tree changes render normally in VS Code Source Control.
I hit the same Codex Diff failure in VS Code on macOS arm64.
Environment:
The Codex extension log showed an
fs/readFilerequest failing withNo such file or directory (os error 2), immediately followed by a React error boundary ineditor-diff-page. The files shown in the inline diff still existed, and I had nochatgpt.cliExecutableoverride.Working workaround:
26.715.61943.The dedicated Codex Diff view works again after the downgrade, so this appears to be a regression in the 26.721 extension line. The inline diff and VS Code Source Control remain usable as fallbacks.
I've just updated to the latest version, and the problem was solved