Repository navigation
Open
Labels
appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingwindows-osIssues related to Codex on Windows systems
Description
Windows desktop repeatedly hangs with stale CODEX_CLI_PATH override
Summary
The Codex Windows desktop app repeatedly becomes permanently unresponsive. The composer often shows an attachment chip with an endless loading spinner. Killing ChatGPT.exe in Task Manager restores the app, but the visible conversation does not always rehydrate even though the underlying agent/session can continue.
Environment
- Windows 10 Pro 22H2, build 19045
- Desktop package:
OpenAI.Codex_26.1002.6548.0_x64 - Electron/ChatGPT executable version reported by WER:
155.0.8059.27 - User-level
CODEX_CLI_PATHpoints to a persisted.sandbox-bin/codex.exe - Selected app-server version:
codex-cli 0.145.0-alpha.18, dated 2026-07-18 - The current package contains a different
resources/codex.exe
Evidence
- Windows Event Viewer recorded 341
Application Hang/MoAppHangevents for Codex over 60 days, all reported asTop level window is idle. - Seventeen hangs occurred on package
26.1002.6548.0on 2026-10-07. - Startup logs explicitly report the app-server executable as the user override and
source=override. - The desktop repeatedly sends
app/installed; the selected old app-server rejects it with JSON-RPC error-32600,Invalid request: unknown variant app/installed. - There were 11,344 such rejections in one day. Pending request counts reached more than 1,000 in some sessions.
- Terminated sessions commonly end with
write EPIPEfrom the IPC router. - Binary inspection confirms that the overridden old binary contains
plugin/installedbut notapp/installed; the current packaged binary containsapp/installed. - Session transcripts remain present and continue to update after the window is killed. On restart, logs show durable WebSocket reconnection and thread-resume activity, explaining why work can continue while the UI loses the displayed chat.
- The system drive was also critically low on space (approximately 151 MB free), which likely compounds profile/database and update failures, but the protocol mismatch is independently reproducible in the logs.
Expected behavior
The desktop app should either ignore an incompatible CODEX_CLI_PATH, perform a compatibility check before using it, or present a clear blocking error. A rejected background request should not accumulate indefinitely or freeze the renderer.
Suggested safeguards
- Validate the overridden app-server protocol/version during initialization.
- Fall back to the packaged binary when required methods are missing.
- Add backoff/deduplication for repeatedly rejected
app/installedrequests. - Preserve and rehydrate the current conversation after renderer or top-level-window failure.
- Surface low-disk-space warnings before Chromium/SQLite state becomes unreliable.
Raw desktop logs and Windows WER report IDs are available if maintainers need them, but they are not attached publicly because they may contain conversation metadata and local paths.
Metadata
Metadata
Assignees
Labels
appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingwindows-osIssues related to Codex on Windows systems
Activity