Sometimes can't start 3rd party plugins during VS Code start
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
Does this issue occur when all extensions are disabled?: No this issue is of the extensions mechanism of the VS Code itself
- VS Code Version:
```
Version: 1.129.0
Commit: 125df4672b8a6a34975303c6b0baa124e560a4f7
Date: 2026-07-15T00:08:44Z
Electron: 42.6.0
ElectronBuildId: 14623276
Chromium: 148.0.7778.280
Node.js: 24.18.0
V8: 14.8.178.38-electron.0
OS: Linux x64 7.1.3-201.fc44.x86_64
```
happens in older versions as too.
- OS Version: Fedora 44 Linux
Steps to Reproduce:
1. Install one of the plugins that trigger this problem (Cline, Codex, probably much more)
2. Restart and then open some UI of one of those plugins
3. Restart and repeat step 2 several times
The error that you will see in the pop-up window in the bottom right side will be as following:
Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
Sometimes it happens, but sometimes is doesn't and the same plugins work properly.
Looks unrelated to the plugins themselves, but to some internals of the VS Code extensions support.
Contributor guide
Assessment
This issue has not been assessed yet.