Skip to content

Fix the New Build Info Script to handle edge case release versions#2380

Open
g2vinay wants to merge 2 commits intomicrosoft:mainfrom
g2vinay:fix-new-buildinfo-vscode-marketplace-query
Open

Fix the New Build Info Script to handle edge case release versions#2380
g2vinay wants to merge 2 commits intomicrosoft:mainfrom
g2vinay:fix-new-buildinfo-vscode-marketplace-query

Conversation

@g2vinay
Copy link
Copy Markdown
Contributor

@g2vinay g2vinay commented Apr 9, 2026

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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 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 flags to include IncludeVersions so the API returns all versions.
  • Updates inline documentation to clarify the flag composition and why it’s required.

@github-project-automation github-project-automation bot moved this from Untriaged to In Progress in Azure MCP Server Apr 9, 2026
Copy link
Copy Markdown
Contributor

@jongio jongio left a comment

Choose a reason for hiding this comment

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

5 participants