VS Code Webview fails to load because the ChatGPT extension preloads up to 676 JS/CSS assets concurrently

Open 💬 2 comments Opened Jul 19, 2026 by YYH2913

What version of the IDE extension are you using?

openai.chatgpt-26.715.31925

What subscription do you have?

pro

Which IDE are you using?

VS Code

What platform is your computer?

Linux 7.0.0-28-generic x86_64 x86_64

What issue are you seeing?

The Webview may fail to initialize and show one or more of the following symptoms:

  • The loading animation never completes
  • Blank or gray Webview
  • JavaScript or CSS preload failures
  • Service Worker registration failure
  • Local Webview resources fail with net::ERR_FAILED

The developer console may also contain errors or warnings similar to:

potential listener LEAK
net::ERR_FAILED
CSS/JS preload failed
Service Worker registration failed because the document state became invalid

What steps can reproduce the bug?

  1. Install or update the OpenAI ChatGPT/Codex VS Code extension to version openai.chatgpt-26.715.31925.
  2. Open the ChatGPT/Codex Webview from the VS Code sidebar.
  3. Open the Webview developer tools:
  • Run Developer: Open Webview Developer Tools from the Command Palette.
  • Select the ChatGPT/Codex Webview if prompted.
  1. Reload the Webview or restart VS Code.
  2. Observe that the generated Vite entry point attempts to preload approximately 676 JavaScript and CSS resources at once.
  3. In affected environments, the Webview remains on the loading animation or becomes blank or gray.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

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