-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimize number of extension query requests to Marketplace #139015
Comments
- unify querying capability - get all compatible installed extensions for update in a single query request
- unify apis in IExtensionGalleryService
- avoids additional request to check if extension has release version - improve error handling when release version is not found
cc @SaiKanth007 |
- use getExtensions for querying by id or name - introduce getExtensions in IExtensionsWorkbenchService
I also remember we discussed that having two instances of VSCode editors open will make two different update calls to marketplace, even that is optimized as part of this ? Is Featured Extension call also included in the above mentioned 2 calls or is it different ? |
No, that needs considerable design changes and felt not worth the change. Current optimizations listed above are already good enough. |
Minimize number of extension query requests to Marketplace
At present, one request is made per each installed extension when the latest version of that extension in the marketplace is not compatible. Change it to one request for all such extensions.
At present, an additional request is made to know if there is a release version or not even when requested for pre-release version. This is to support the feature - not to show install release version button or not to show switch to release version button - Pre-Release only extensions show up in Stable search results #138231. Since this adds additional overhead on MP, lets unsupport this feature and support it when MP moves to SemVer with proper efficient query API.
The text was updated successfully, but these errors were encountered: