Fix the New Build Info Script to handle edge case release versions#2380
Open
g2vinay wants to merge 2 commits intomicrosoft:mainfrom
Open
Fix the New Build Info Script to handle edge case release versions#2380g2vinay wants to merge 2 commits intomicrosoft:mainfrom
g2vinay wants to merge 2 commits intomicrosoft:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the VS Code Marketplace query in New-BuildInfo.ps1 so the script retrieves all published extension versions (not only the latest), preventing version-calculation failures when a new beta series is published before the previous series reaches GA.
Changes:
- Adjusts Marketplace query
flagsto includeIncludeVersionsso the API returns all versions. - Updates inline documentation to clarify the flag composition and why it’s required.
anannya03
approved these changes
Apr 9, 2026
KarishmaGhiya
approved these changes
Apr 9, 2026
jongio
approved these changes
Apr 10, 2026
Contributor
jongio
left a comment
There was a problem hiding this comment.
Flag arithmetic verified - the old value (914) had IncludeLatestVersionOnly (0x200) set, which was the root cause. New value (387) correctly uses IncludeVersions (0x1) instead. Dropping IncludeVersionProperties (0x10) is fine since the code only reads version strings. Clean fix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the New Build Info script to fetch all released versions and not just latest.
In the event we ship next beta series before GA'ing the current beta train, the current logic breaks.