VS Code Codex Diff crashes with "Oops, an error has occurred" on Linux

Open 💬 5 comments Opened Jul 31, 2026 by diego-unipi
💡 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.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?

  1. Open a Git workspace in VS Code on Linux.
  2. Use Codex in local mode to make a small file edit.
  3. Click Review on the edit card.
  4. 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.

View original on GitHub ↗

5 Comments

github-actions[bot] contributor · 27 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #36323
  • #36193
  • #36016
  • #36104
  • #35250

Powered by Codex Action

RYGRIT · 27 days ago

The same problem is encountered again

philomely · 22 days ago

same problem

phyzk · 22 days ago

The same issue with the stable version.
Switching to the pre-release version 26.5730.61639 fixes it for me, and the Codex Diff view renders normally.

Skalhoef · 21 days ago

Same problem... Can't wait for a guide to fix this.