Windows ARM64 Codex desktop app exits 7-12 seconds after launch after primary runtime manifest 404

Resolved 💬 2 comments Opened Jul 15, 2026 by jamesp-alt Closed Jul 15, 2026

Issue title

Windows ARM64 Codex desktop app exits 7-12 seconds after launch after primary runtime manifest 404

Description

The standalone Codex desktop app briefly opens and then exits completely after approximately 7-12 seconds on Windows 11 ARM64. The Codex terminal CLI continues to work normally on the same machine.

The desktop log shows that the packaged app launches successfully, starts the app-server transport, completes the initialization handshake, initializes the bundled Codex CLI, and reaches window ready-to-show. WSL detection reports that WSL is not installed. Shortly afterward, the primary runtime update check fails with 404 Not Found.

The runtime configuration logged for the selected primary runtime includes windows-x86_64, but no windows-aarch64 platform entry. Because the installed desktop package is ARM64, this may indicate a Windows ARM64 runtime packaging or platform-selection problem. This is a suspected correlation, not a confirmed root cause: the log contains no explicit fatal exception or exit reason.

The process disappears completely rather than leaving a blank or unresponsive window. No matching Windows Application Error event is recorded.

Reproduction steps

  1. On a Windows 11 ARM64 computer, install the Microsoft Store ARM64 package OpenAI.Codex 26.707.9981.0.
  2. Authenticate with ChatGPT.
  3. Launch the standalone Codex desktop app.
  4. Wait approximately 7-12 seconds.
  5. Observe that the window closes and the desktop process exits completely.
  6. Launch Codex from Windows Terminal and observe that the CLI continues to work normally.

Expected behavior

The Codex desktop app should remain open and usable on Windows ARM64. A missing or unavailable optional primary runtime update should not cause the desktop process to exit without an error message.

Actual behavior

The main window appears briefly, then the entire Codex desktop process exits after approximately 7-12 seconds. There is no visible error dialog and no Windows Application Error event. The terminal CLI remains functional.

Environment

  • OS: Windows 11 Core, build 26200
  • Architecture: ARM64
  • Codex desktop package: OpenAI.Codex 26.707.9981.0 ARM64
  • Bundled app-server version reported by the desktop log: 0.144.2
  • Separately installed Codex CLI: 0.144.4 aarch64-pc-windows-msvc
  • Git: 2.55.0.windows.2
  • Terminal: Windows Terminal
  • Authentication: ChatGPT
  • codex doctor: 17 ok, 1 idle, 1 note, 0 warnings, 0 failures
  • MCP servers: none
  • config.toml: loads successfully
  • Windows sandbox: unelevated
  • WSL: not installed; WSL execution disabled

Troubleshooting performed

  • Reinstalled the Codex desktop app.
  • Repaired and reset the app.
  • Removed all MCP configuration.
  • Tested with the unrelated workspace temporarily renamed; behavior was unchanged.
  • Disabled WSL execution.
  • Switched to the unelevated Windows sandbox.
  • Removed a UTF-8 BOM that previously made config.toml invalid.
  • Verified the corrected configuration with codex doctor.
  • Confirmed that the terminal CLI works while the desktop app still exits.
  • Checked Windows events; no matching Windows Application Error event was present.

Sanitized desktop log excerpt

The originally identified t1 log contains only Git-origin worker messages. The relevant startup events are in the same session's matching t0 companion log. Identifiers and unrelated fields have been omitted.

2026-07-15T16:39:51.148Z info  [AppServerConnection] Initializing app-server transport
2026-07-15T16:39:51.148Z info  [AppServerConnection] Starting app-server connection hostId=local transport=stdio
2026-07-15T16:39:53.093Z info  [AppServerConnection] Transport start success connectionId=1 hostId=local transport=stdio
2026-07-15T16:39:53.259Z info  [AppServerConnection] initialize_handshake_result durationMs=165 outcome=success transportKind=stdio
2026-07-15T16:39:53.259Z info  [AppServerConnection] Codex CLI initialized
2026-07-15T16:39:53.500Z info  [window-manager] window ready-to-show appearance=primary hostId=local startupElapsedMs=160
2026-07-15T16:39:54.981Z error [wsl] error retrieving eligible distro error="Windows Subsystem for Linux is not installed"
2026-07-15T16:39:55.555Z info  [electron-message-handler] Codex runtime config selected artifact=codex-primary-runtime
    latest platforms: linux-x86_64, macos-aarch64, macos-x86_64, windows-x86_64
    windows-aarch64 entry: absent
2026-07-15T16:39:55.683Z warning [install-primary-runtime] primary_runtime_update_poll_failed errorMessage="Failed to download primary runtime manifest (404 Not Found)."

The log ends without an explicit fatal exception, shutdown reason, or process-exit event.

Possible duplicate issues

  • https://github.com/openai/codex/issues/16502 - very similar Windows symptom: desktop opens and closes after a few seconds, CLI works, WSL is absent, and no Windows crash event is recorded. That report is x64 and points toward sandbox/ACL behavior rather than an ARM64 runtime-manifest mismatch.
  • https://github.com/openai/codex/issues/16269 - similar immediate-exit symptom on Windows, but the reporter correlated it with repository/untracked-file handling rather than ARM64 or runtime selection.
  • https://github.com/openai/codex/issues/17491 - Windows ARM64 desktop support issue. It concerns x64 emulation, freezes, and lag; it does not report this silent startup exit or the missing windows-aarch64 runtime entry. It is closed.
  • https://github.com/openai/codex/issues/15179 - Windows Store app flash-exit associated with sandbox ACL failures under WindowsApps. The current report uses the unelevated sandbox and the reviewed desktop excerpt does not show the reported ACL failure signature.

Additional note

I can provide a longer, manually reviewed and sanitized excerpt if maintainers need more context. I will not upload the complete unreviewed log because it may contain private account, conversation, or local-environment data.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗