Skip to content

When reviewing a PR in a container then the GHPR extension is not activated and requires a reload #135025

@egamma

Description

@egamma

Edit: Added steps to Repro

  • Add following setting "extensions.webWorker": true to user settings file
  • Have GHPR extension installed locally
  • Clone the repository https://github.com/egamma/vscode-remote-try-node.git into a container volume
    🐛 GHPR extension is enabled locally (web worker)

When a PR is opened in a container the extension install the GHPR extension automatically, when it isn't already installed. The extension is installed in the same way as the other extensions defined in the devcontainer.json.

To reproduce, open a PR in a container, e.g., https://github.com/egamma/hello-extension2/pull/2.

Open the extensions viewlet, notice that the extension is installed but now requires a reload to be activated.
Also notice that when in the 'requires reload state' the activity bar shows the GHPR view container contribution (cached?). You can select the contribution and the view container opens but in some undefined state (see the 2nd screenshot below).

image

image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions