VS Code Webview fails to load because the ChatGPT extension preloads up to 676 JS/CSS assets concurrently
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- css, javascript, vite, vscode
Research direction
Start by reproducing the failure with extension version openai.chatgpt-26.715.31925 in VS Code and inspect the ChatGPT/Codex Webview Developer Tools. Examine the generated Vite entry point and its approximately 676 JavaScript and CSS preloads. Done means the Webview initializes reliably without preload, service-worker, or net::ERR_FAILED errors.
Written by the indexing model from the issue text.
Description
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?
- Install or update the OpenAI ChatGPT/Codex VS Code extension to version
openai.chatgpt-26.715.31925. - Open the ChatGPT/Codex Webview from the VS Code sidebar.
- Open the Webview developer tools:
- Run
Developer: Open Webview Developer Toolsfrom the Command Palette. - Select the ChatGPT/Codex Webview if prompted.
- Run
- Reload the Webview or restart VS Code.
- Observe that the generated Vite entry point attempts to preload approximately 676 JavaScript and CSS resources at once.
- 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
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·