Skip to content

update manifest in remote channels whenever manifest changes - #321044

Merged
Sandeep Somavarapu (sandy081) merged 1 commit into
mainfrom
sandy081/tender-frog
Jun 12, 2026
Merged

Sandeep Somavarapu (sandy081) merged 1 commit into
mainfrom
sandy081/tender-frog

Conversation

@sandy081

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Electron workbench’s extension gallery manifest service so that both shared-process and remote channels are refreshed whenever the extension gallery manifest changes, rather than only being initialized once.

Changes:

  • Refactors channel initialization into a reusable updateChannels helper.
  • Subscribes to onDidChangeExtensionGalleryManifest to push manifest updates to all relevant IPC channels.
  • Adds a disposal guard to avoid initializing channels after the service has been disposed.
Show a summary per file
File Description
src/vs/workbench/services/extensionManagement/electron-browser/extensionGalleryManifestService.ts Pushes manifest updates to shared-process and remote IPC channels on initial load and on subsequent manifest changes.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment on lines +72 to +75
const updateChannels = (manifest: IExtensionGalleryManifest | null) => {
this.logService.trace(`[Marketplace] Updating channels with manifest ${manifest ? 'available' : 'unavailable'}`);
channels.forEach(channel => channel.call('setExtensionGalleryManifest', [manifest]));
};
@sandy081
Sandeep Somavarapu (sandy081) merged commit e1ebe06 into main Jun 12, 2026
26 checks passed
@sandy081
Sandeep Somavarapu (sandy081) deleted the sandy081/tender-frog branch June 12, 2026 08:11
@vs-code-engineering vs-code-engineering Bot added this to the 1.125.0 milestone Jun 12, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Jul 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants