Windows app crashes when clicking a newly-created file in the review pane

Open 💬 1 comment Opened Jul 1, 2026 by BH3HOF

Summary

The Codex Windows app consistently exits/crashes when clicking a newly-created file entry in the review/diff pane while the file is still shown as being created.

Reproduction

  1. Use the Codex Windows desktop app in a local project.
  2. Ask Codex to create a new file.
  3. In the review/diff pane, click the blue file entry while it is shown as 正在创建 install-macos.sh +5 -0.
  4. The Codex app immediately exits/crashes.

The user reports this reproduces every time.

Expected behavior

Clicking the pending/new file entry should open the diff or file preview, or show a recoverable error if the file is not yet available.

Actual behavior

The entire Codex app exits/crashes.

Environment

  • OS: Windows 10.0.26200.8655
  • Codex Windows app package observed in executable path: OpenAI.Codex_26.623.11225.0_x64__2p2nqsd0c76g0
  • Agent shell: PowerShell
  • UI language/context: Chinese UI text observed (正在创建)

Local observations

  • The clicked item appeared to be a pending/new file diff entry, not a normal already-opened file.
  • After restart/checking the workspace, install-macos.sh was not present on disk.
  • The project directory contained an empty .git directory. The bundled Git executable reported:
fatal: not a git repository (or any of the parent directories): .git

This may or may not be related, but it could be relevant because the crash happens from the review/diff pane.

Notes

No app logs are attached here to avoid exposing local/private paths or session content. The user can submit logs through in-app /feedback if needed.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗