Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.928.3736.0 (verified from the installed OpenAI.Codex Windows package); app-server 0.159.2
What subscription do you have?
ChatGPT sign-in; subscription tier not verified in this diagnostic report.
What platform is your computer?
Windows, OS version 10.0.26200, x64; Windows-native backend (not WSL)
What issue are you seeing?
Codex repeatedly remains on a pale startup screen with the OpenAI logo centered. The sidebar and main UI do not appear during the observed wait. The desktop becomes usable after an existing recovery BAT terminates codex.exe and the desktop host reconnects to a newly started backend.
This is a startup hang, not a confirmed spontaneous backend crash: the recovery BAT explicitly terminates the backend. The exact root cause is unconfirmed.
Observed repeatedly on 2026-10-01; similar startup failures are present in local logs from September 26 onward. The issue remains unresolved.
What steps can reproduce the bug?
- Exit Codex normally.
- Launch Codex from the Windows Start menu.
- Observe the app remain on the OpenAI logo startup screen instead of showing the main UI.
- Run the existing recovery BAT, whose relevant operation is to terminate codex.exe and its child processes.
- The desktop host remains running; after the backend reconnects, the main UI appears.
This is a workaround observed on the affected installation, not a clean-machine reproduction. The hang occurs before opening a task; token/context usage is not applicable. No in-app feedback session ID has been obtained.
What is the expected behavior?
Codex should complete normal startup and show its sidebar and main UI without requiring the user to terminate backend processes or run a recovery BAT.
Additional information
Diagnostic timeline
- 15:11:27: startup begins.
- 15:11:29: config/read, account/read and getAuthStatus return successfully.
- 15:11:34: account lookup succeeds.
- 15:12:55: backend exits and reconnects during the recovery sequence.
- 15:12:56: shell_visible, home_visible and sidebar_ready are recorded; total startup time is approximately 89 seconds.
Window creation, renderer startup and settings loading complete well before the main UI appears. Similar recovery after backend reconnection occurred across multiple starts. This correlation does not establish the specific blocked initialization condition.
Tests that did not resolve the hang
- Removed stale auto-generated node_repl configuration referencing a missing old runtime, then allowed the app to regenerate it with current paths. The old path error disappeared, but startup still hung.
- Temporarily disabled codex-app-tools. Its tools/list timeout disappeared, but startup still hung. The plugin setting was restored.
The BAT also attempts to back up browser-sidebar-page-states.json, but its path contains an unexpected U+0008 character and does not resolve, so that file operation does not run. The observed recovery is consistent with backend termination/reconnection rather than a page-state reset.
No login/chat data or application binaries were deleted or patched. Backend version reported by the app is 0.159.2 and the affected backend is Windows-native, not WSL.
Possibly related: #49919 uses the same desktop package version, but reports recovery by explicitly selecting the bundled CLI. In this report, the initially launched backend already reports version 0.159.2 and recovery follows backend termination/reconnection. A shared cause has not been established.
Please investigate the initial desktop/backend initialization and readiness handoff, and advise which targeted diagnostics would help identify the blocking condition. Personal paths, account identifiers, credentials, and session transcripts are omitted.
Activity
xiachuanbo commentedon Oct 1, 2026
Related: #48333 describes the same startup-spinner and backend-termination recovery pattern. This report adds reproduction on Windows package 26.928.3736.0 / app-server 0.159.2, including a single-variable test in which disabling codex-app-tools removes its tools/list timeout but does not resolve the startup hang. The shared root cause is still unconfirmed; please consolidate with #48333 if appropriate.
github-actions commentedon Oct 1, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
xiachuanbo commentedon Oct 1, 2026
Exact recovery command used by Fix-Codex-Startup.bat
To make the workaround reproducible, the BAT invokes PowerShell and runs this process-termination section:
The exact termination command inside it is:
Observed procedure: launch Codex normally, leave the stuck OpenAI-logo window open, then run the existing Fix-Codex-Startup.bat. The user confirms that running this BAT allows the app to open. The desktop host executable in this installation is ChatGPT.exe; terminating Codex.exe affects the backend, after which the desktop reconnects and displays the main UI.
Important scope: /F force-terminates matching processes and /T includes their children, so this can interrupt running Codex tasks. It was used while startup was already stuck, not as a routine action during active work.
The original BAT subsequently tries to rename browser-sidebar-page-states.json, but the path actually contains a U+0008 character and the target does not exist. That file operation is skipped with a not-found result. Therefore the report does not claim that clearing or renaming page state is necessary. The snippet above is extracted from the BAT that recovered the app; it has not been separately validated as a standalone repair script.
This is a temporary recovery, not a permanent fix: normal startup still reproduces the problem.
xiachuanbo commentedon Oct 1, 2026
Screenshot and sanitized startup logs
Attached is the original screenshot showing the OpenAI-logo startup screen, plus a sanitized excerpt from two startup attempts.
The log attachment contains selected events and fields from the original logs, not the complete raw logs. Original UTC timestamps are retained (Asia/Shanghai = UTC+8). It preserves startup/readiness timings, backend connection transitions and selected RPC response timings.
Local paths, usernames, process/request/session/conversation identifiers, credentials, message contents and raw stderr payloads have been omitted. Backend exits in these excerpts occurred during the recovery sequence and should not be interpreted as proof of a spontaneous crash.
Codex-startup-logs-redacted.txt
goodman-oai commentedon Nov 16, 2026
Tracking this startup hang in #48333. The Desktop window stayed open on the splash screen until the local backend reconnected. The reporter verified that the recovery script terminated matching
Codex.exeprocesses and their children, after which the existing window loaded. Recovery details.