Skip to content

Codex Diff crashes with “Oops, an error has occurred” in VS Code on macOS #35058

Description

@Furgon

Codex Diff is unusable in VS Code: after Codex edits files, opening the “Codex Diff” tab shows:

Oops, an error has occurred

This happens in every repository, including a newly opened workspace.

Environment:

  • macOS, Apple Silicon
  • VS Code 1.128.0
  • Codex extension: openai.chatgpt 26.721.30844

Git works correctly and git diff displays the changes.

What I tried:

  • Reopened the workspace
  • Created a new Codex chat
  • Cleared VS Code workspaceStorage
  • Reinstalled the Codex extension
  • Tested another repository
  • Confirmed there are no relevant third-party extensions installed

Relevant Codex log:
Request failed: fs/readFile — No such file or directory (os error 2)
Then:
editor-diff-page error boundary

Expected behavior:
Codex Diff should render the changed files and their diff.

Actual behavior:
The Codex Diff editor crashes before displaying any diff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions