Skip to content

Title: Codex sidebar fails with renderer_ready_timeout on VS Code 1.143.1 (Windows 11), clean profile #57528

Open

Description

@102030st-hub

What version of the Codex App are you using (From “About Codex” dialog)?

Windows 11 x64

What subscription do you have?

Plus

What platform is your computer?

Windows 11 x64

What issue are you seeing?

Problem
The Codex panel shows "Codex could not start - The extension could not start its user interface" after ~30s.

Reproduced in an isolated profile with only Codex installed (--user-data-dir and --extensions-dir pointing to a fresh temp folder, no other extensions).

Codex.log (same on every attempt):
[info] [CodexMcpConnection] Spawning codex app-server
[info] [CodexMcpConnection] Initialize received id=1 (1-6s after spawn)
[error] [CodexWebviewProvider] Webview renderer did not become ready elapsedMs=30008 reason=renderer_ready_timeout receivedWebviewMessage=false role=sidebar stage=renderer timeoutMs=30000

So the app-server starts fine, but the webview never sends any message.

Webview DevTools console:

Already ruled out

  • Extension conflicts (clean profile), stale cache/service worker (fresh user-data-dir), corrupt install (fresh install; webview folder has 22,544 files, none empty)
  • Reload Window, full restart, reinstall, pre-release channel
  • --disable-gpu and "disable-hardware-acceleration": true in argv.json (no effect)

Related: #37458

What steps can reproduce the bug?

  1. On Windows 11 x64, install VS Code 1.143.1 (commit e646868227c3e3a9e3f24277c8c7220be42c0be7).
  2. Create a fresh, isolated environment with no other extensions (PowerShell):
    $tmp = "$env:TEMP\vscode-codex-test"
    New-Item -ItemType Directory -Force -Path "$tmp\data", "$tmp\ext"
    code --user-data-dir "$tmp\data" --extensions-dir "$tmp\ext" --install-extension openai.chatgpt
    (installs openai.chatgpt 26.1021.22027 and openai.codex-audio 26.1021.22027)
  3. Launch VS Code with that profile:
    code --user-data-dir "$tmp\data" --extensions-dir "$tmp\ext" "$env:USERPROFILE\Desktop"
  4. Open the Codex panel (secondary sidebar, chatgpt.sidebarSecondaryView).
  5. Wait ~30 seconds.

Result: "Codex could not start - The extension could not start its user interface."
Codex.log shows the app-server starting normally ("Initialize received id=1" within 1-6s) and then:
[error] [CodexWebviewProvider] Webview renderer did not become ready reason=renderer_ready_timeout receivedWebviewMessage=false role=sidebar stage=renderer timeoutMs=30000

Reproduces on every attempt, also with --disable-gpu and with "disable-hardware-acceleration": true in argv.json.

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugextensionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions