VS Code Codex Diff crashes with "Oops, an error has occurred" on Linux
What version of the IDE extension are you using?
26.727.40816
What subscription do you have?
ChatGPT Plus
Which IDE are you using?
Visual Studio Code 1.131.0
What platform is your computer?
Linux 7.0.11-76070011-generic x86_64 GNU/Linux
What issue are you seeing?
Clicking Review for a local Codex file edit opens the Codex Diff tab, but it immediately displays “Oops, an error has occurred” and never renders the diff. Clicking “Try again” does not resolve it.
Relevant sanitized log excerpt:
[error] error boundary componentStack="
at R (.../openai.chatgpt-26.727.40816-linux-x64/webview/assets/editor-diff-page-CYrkK60A.js:1:1030)
at L (.../openai.chatgpt-26.727.40816-linux-x64/webview/assets/editor-diff-page-CYrkK60A.js:1:643)
...
" error={} name=AppRoutes
What steps can reproduce the bug?
- Open a Git workspace in VS Code on Linux.
- Use Codex in local mode to make a small file edit.
- Click Review on the edit card.
- The Codex Diff tab shows “Oops, an error has occurred” instead of the diff.
The issue also reproduced after reloading VS Code, reinstalling extension version 26.727.40816, testing version 26.721.41059, and regenerating a small single-file review card.
What is the expected behavior?
The changed file and its diff should be rendered in the Codex Diff viewer.
Additional information
The same editor-diff-page error boundary occurred with both extension versions 26.727.40816 and 26.721.41059.
While switching extension builds, VS Code also logged:
TypeError: this.diffPanel.dispose is not a function
Full raw logs were not attached because they contain local paths and session metadata. I can provide sanitized excerpts or additional details if needed.
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
The same problem is encountered again
same problem
The same issue with the stable version.
Switching to the pre-release version
26.5730.61639fixes it for me, and the Codex Diff view renders normally.Same problem... Can't wait for a guide to fix this.