Codex desktop app closes on startup when opening a specific Windows workspace, while CLI works normally
What version of the Codex App are you using (From “About Codex” dialog)?
Codex desktop: 26.306.11636 - Store package: OpenAI.Codex_26.306.996.0_x64__2p2nqsd0c76g0
What subscription do you have?
Plus
What platform is your computer?
Microsoft Windows 11 Pro 10.0.26200 x64
What issue are you seeing?
The Codex CLI works normally, but the Codex desktop app closes automatically a few seconds after opening or restoring the workspace C:\Users\cdd\remak.
Actual Behavior
The desktop app closes automatically about 10–15 seconds after opening the workspace.
What I Observed
In the desktop logs, the last strong signal before shutdown is consistently a git watcher failure:
git diff --cached ... failureReason=output_limit_exceeded ... outputLimitMaxBytes=33554432
Then Windows logs show:
Destroyed Desktop AppX container
Relevant logs:
C:\Users\cdd\AppData\Local\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Local\Codex\Logs\2026\03\11\codex-desktop-bedce075-178d-452c-9060-b0434fc7df38-4104-t0-i1-054109-0.log
C:\Users\cdd\AppData\Local\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Local\Codex\Logs\2026\03\11\codex-desktop-bedce075-178d-452c-9060-b0434fc7df38-4104-t2-i1-054111-0.log
Important Detail
From a normal terminal, the command below does not reproduce the issue:
git -C C:\Users\cdd\remak diff --cached
It returns no output in terminal tests, but the desktop app logs show the command hitting a 32 MB output limit.
Notes
This seems more like an internal desktop git/workspace scanning issue than a general Codex or CLI problem, since the CLI remains stable.
What steps can reproduce the bug?
Steps to Reproduce
- Launch Codex desktop on Windows.
- Open or restore the workspace C:\Users\cdd\remak.
- Wait about 10–15 seconds.
The desktop app closes automatically.
Codex CLI works normally with the same repository
What is the expected behavior?
The desktop app should stay open and successfully load the workspace without closing automatically.
Additional information
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗