Skip to content

Incorrect webWorkerExtensionHost startup process on vscode desktop #234504

@Kaidesuyoo

Description

@Kaidesuyoo
  • VS Code Version: 1.95.3
  • OS Version: Windows 11 26100.2454

Steps to Reproduce:

There are two issues here:

First: webWorkerExtensionHost is started after restarting the extension host, even if no pure web extensions are installed.

  1. Ensure that no pure web extensions are currently installed.
  2. Restart the extension by disabling it and then restarting the extension host, or restart the extension host using the Restart Extension Host command.
wrong.startup.mp4

Second: When the ExtensionDescriptionRegistry content is updated, the webWorkerExtensionHost fails to activate the extension due to receiving an incorrect extensionRegistryVersionId during startup.

  1. Update the versionId of the ExtensionDescriptionRegistry recorded in VSCode by disabling or enabling the extension.
  2. Use a pure web extension to start the webWorkerExtensionHost.

The Error Lens extension in the video is a local extension that has been modified to a pure web extension.

wrong.snapshot.version.mp4

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugextension-hostExtension host issuesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions