Codex Desktop white screen after login - Statsig workspace_type Invalid input

Open 💬 3 comments Opened Jun 6, 2026 by Brococoli

Codex Desktop white screen after login

Summary

Codex Desktop opens to a blank white window after login. Login, network, app-server startup, and thread listing appear healthy, but the renderer logs a Statsig bootstrap error during post-login initialization.

Key Error

Statsig: error while bootstrapping post-login client
path: ["user","custom","workspace_type"]
message: "Invalid input"

Full repeated log excerpt:

2026-06-06T04:38:40.893Z error [electron-message-handler] Statsig: error while bootstrapping post-login client errorMessage="[
  {
    \"code\": \"invalid_union\",
    \"errors\": [
      [{ \"expected\": \"string\", \"code\": \"invalid_type\", \"path\": [], \"message\": \"Invalid input\" }],
      [{ \"expected\": \"number\", \"code\": \"invalid_type\", \"path\": [], \"message\": \"Invalid input\" }],
      [{ \"expected\": \"boolean\", \"code\": \"invalid_type\", \"path\": [], \"message\": \"Invalid input\" }],
      [{ \"expected\": \"array\", \"code\": \"invalid_type\", \"path\": [], \"message\": \"Invalid input\" }],
      [{ \"expected\": \"undefined\", \"code\": \"invalid_type\", \"path\": [], \"message\": \"Invalid input\" }]
    ],
    \"path\": [\"user\", \"custom\", \"workspace_type\"],
    \"message\": \"Invalid input\"
  }
]"

Environment

macOS: 26.3.0 arm64
Codex App: 26.602.40724
Bundle version: 3593
Bundled CLI: codex-cli 0.137.0-alpha.4
Homebrew CLI: codex-cli 0.137.0
Auth: Logged in using ChatGPT

Diagnostics Already Tried

  • Restarted Codex Desktop.
  • Verified CLI auth: codex login status returns Logged in using ChatGPT.
  • Ran codex doctor --summary; auth, websocket, reachability, config, and install are healthy.
  • Cleared Chromium/GPU/code caches.
  • Moved Local Storage and Session Storage.
  • Moved full Electron profile:
  • ~/Library/Application Support/Codex
  • ~/Library/Application Support/com.openai.codex
  • ~/Library/Caches/Codex
  • ~/Library/Caches/com.openai.codex
  • Reinstalled Codex Desktop via codex app /Users/bytedance.

The white screen still reproduces after full profile reset and app reinstall.

Relevant Healthy Startup Signals

window ready-to-show
window main frame finished load
account/read ... errorCode=null
thread/list ... errorCode=null
[startup][renderer] app routes mounted

Current Hypothesis

The issue appears to be a Codex Desktop renderer initialization failure caused by an account-side Statsig/custom user field value, specifically user.custom.workspace_type, not by local auth, local network, app installation, or stale profile cache.

View original on GitHub ↗

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