Skip to content

[Windows Desktop] Adding a second project folder permanently locks Codex on “Oops, an error has occurred” #35107

Description

@diyuanbo

What version of the Codex App are you using?

The Windows desktop build delivered by the in-app update on July 24, 2026. The exact version is unavailable because the failure can prevent entering Codex.

What subscription do you have?

Not provided.

What platform is your computer?

Windows desktop (exact Windows version not provided).

What issue are you seeing?

The newly exposed multi-folder project feature can make the entire Codex surface permanently fail to load.

A project works normally with one folder. As soon as a second folder is added—either while creating a project or by editing an existing project's configuration—Codex shows:

Oops, an error has occurred

The only visible actions are Update ChatGPT and Try again; neither recovers the app. Restarting does not help.

The failure persists because the multi-folder project state is stored under .codex. The only recovery found is to quit the app and move/clear the .codex directory. Codex then opens again, and single-folder projects work normally. Adding a second folder reproduces the lockout immediately.

This appears to be a Windows Desktop regression in the new multi-folder project functionality, not an updater or service failure.

What steps can reproduce the bug?

  1. Update to the current Windows ChatGPT/Codex desktop app.
  2. Enter Codex.
  3. Create a project with one folder; verify that it works.
  4. In the new-project flow, add a second folder. Alternatively, edit the working project and add a second folder.
  5. Codex becomes unusable and displays Oops, an error has occurred.
  6. Click Try again or Update ChatGPT; the same error remains.
  7. Fully restart the app; the error persists.
  8. Quit the app and move/clear .codex; Codex opens again.
  9. Create another single-folder project; it works.
  10. Add a second folder; the failure returns.

The reporter reproduced this both when creating a multi-folder project and when adding a folder to an existing project.

What is the expected behavior?

  • A project should support multiple folders if the UI offers the feature.
  • Saving a multi-folder project must not prevent the entire Codex surface from starting.
  • Invalid or unsupported project configuration should be rejected with a clear message.
  • On startup, Codex should isolate/skip a malformed project and provide a recovery path instead of requiring users to clear all local .codex state.

Impact

High. The feature creates a persistent startup failure. Affected users may assume the update is broken, repeatedly reinstall the application, or delete their entire .codex directory and lose local state just to regain access.

Workaround

Use exactly one folder per project. If already locked out, quit the app and move the .codex directory aside as a backup, then reopen Codex and recreate only single-folder projects.

Additional information

The UI screenshot shows a generic Oops, an error has occurred page with Update ChatGPT and Try again. The screenshot can be provided if maintainers need it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions