Handle incomplete Extension Gallery latest responses - #330527
Handle incomplete Extension Gallery latest responses#330527Dmitriy Vasyura (dmitrivMS) wants to merge 1 commit into
Conversation
Fixes #330526 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Handles incomplete Extension Gallery responses by falling back cleanly to the query API.
Changes:
- Makes raw extension file metadata optional and asset lookup null-safe.
- Detects missing metadata before processing latest versions.
- Adds focused fallback and error-logging coverage.
Show a summary per file
| File | Description |
|---|---|
extensionGalleryService.ts |
Handles omitted version files and triggers query fallback. |
extensionGalleryService.test.ts |
Verifies fallback occurs without logging errors. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Balanced
|
One or more custom setup steps configured for this repository failed during this Copilot code review run: Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review. Note You can configure setup steps for Copilot code review separately from Copilot cloud agent with a |
Summary
filesTesting
npm run transpile-clientscripts\test.bat --run src\vs\platform\extensionManagement\test\common\extensionGalleryService.test.ts(31 passing)Fixes #330526