VS Code Codex sidebar hangs when GitHub Copilot Chat is enabled

Open
#34,482 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
vscode
Domain
desktop, frontend

Research direction

Start at the VS Code extension's dedicated Codex sidebar Webview bootstrap and compare its lifecycle with the working Codex conversation Webview, using the extension-host/renderer logs and #32420 as context. Reproduce with GitHub Copilot Chat enabled and verify that the sidebar initializes normally while Copilot Chat remains enabled, without regressing the Chat view.

Written by the indexing model from the issue text.

Description

bug extension
Summary

The Codex sidebar in VS Code hangs indefinitely on the OpenAI logo whenever GitHub Copilot Chat is enabled. Disabling GitHub Copilot Chat and reloading VS Code makes the Codex sidebar load normally.

This was reproduced after a full VS Code purge/reinstall and after testing with a clean VS Code user-data directory. The Codex CLI and Codex conversations opened through VS Code's Chat view remained usable; the dedicated Codex sidebar was the failing surface.

Environment
  • OS: Ubuntu 22.04.5 LTS (X11/GNOME)
  • VS Code: 1.129.1 (8a7abeba6e03ea3af87bfbce9a1b7e48fed567b8)
  • Codex extension: openai.chatgpt@26.715.31925
  • GitHub Copilot Chat: bundled VS Code chat extension (VS Code did not report a separate Marketplace version)
Steps to reproduce
  1. Start from a clean VS Code installation/profile.
  2. Install and enable openai.chatgpt.
  3. Confirm that the dedicated Codex sidebar loads successfully.
  4. Enable GitHub Copilot Chat.
  5. Reload VS Code and open the dedicated Codex sidebar.
  6. Observe that the sidebar remains indefinitely on the OpenAI loading logo.
  7. Disable GitHub Copilot Chat and reload VS Code.
  8. Observe that the Codex sidebar loads successfully again.
Expected behavior

Codex and GitHub Copilot Chat should coexist without preventing the Codex sidebar Webview from initializing.

Actual behavior

With GitHub Copilot Chat enabled, the Codex sidebar never progresses beyond the OpenAI logo. Disabling Copilot Chat immediately restores the sidebar after reload.

Relevant logs

The VS Code extension-host/renderer logs included:

No bundle location found for extension GitHub.copilot-chat
MainThreadChatAgents2#$updateAgent: No agent with handle 2 registered

During failing starts, the Codex app-server activated and initialized, but the dedicated sidebar did not complete its Webview bootstrap. A Codex conversation Webview could still reach:

[statsig-refresh-diagnostics] React root render requested windowType=extension
[startup][renderer] app routes mounted
maybe_resume_success
Troubleshooting performed
  • Verified proxy and HTTPS connectivity to chatgpt.com.
  • Confirmed the Codex CLI and model access worked.
  • Cleared VS Code Service Worker, Cache, Code Cache, and GPUCache.
  • Reinstalled the Codex extension.
  • Completely purged VS Code, ~/.config/Code, and ~/.vscode, then reinstalled VS Code and only Codex.
  • Tested a separate clean --user-data-dir and --extensions-dir; Codex worked there.
  • Re-enabled synced extensions and reproduced the failure.
  • Isolated the trigger to GitHub Copilot Chat: enabled = failure; disabled = success.

This may be related to the Webview bootstrap/lifecycle symptoms in #32420, but this report has a repeatable extension-level trigger rather than an intermittent Remote-SSH trigger.

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.