Skip to content

Update VSIX to register version.#1050

Merged
g2vinay merged 4 commits intomicrosoft:mainfrom
g2vinay:update-vsix-versioning
Nov 22, 2025
Merged

Update VSIX to register version.#1050
g2vinay merged 4 commits intomicrosoft:mainfrom
g2vinay:update-vsix-versioning

Conversation

@g2vinay
Copy link
Copy Markdown
Contributor

@g2vinay g2vinay commented Nov 4, 2025

Updates VSIX to register version, to prompt refresh of tools in VS code iDE.

Copilot AI review requested due to automatic review settings November 4, 2025 18:01
@g2vinay g2vinay requested review from a team as code owners November 4, 2025 18:01
@github-project-automation github-project-automation Bot moved this to Untriaged in Azure MCP Server Nov 4, 2025
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 adds version tracking to the Azure MCP Server by passing the package version from package.json to the McpStdioServerDefinition constructor. This enables better versioning and tracking of the MCP server instance.

  • Added packageJson constant at module level to read version from package.json
  • Updated McpStdioServerDefinition constructor call to include the version parameter
Comments suppressed due to low confidence (1)

servers/Azure.Mcp.Server/vscode/src/extension.ts:1

  • The test mock for MockMcpStdioServerDefinition doesn't include the new version parameter in its constructor signature. This mock should be updated to accept a version parameter (even if unused) to match the actual API being called, ensuring tests accurately reflect the production code.
// Copyright (c) Microsoft Corporation. All rights reserved.

Comment thread servers/Azure.Mcp.Server/vscode/src/extension.ts Outdated
@joshfree joshfree added packages-VSIX VS Code Marketplace Setup customer-reported 1.x labels Nov 4, 2025
@joshfree joshfree moved this from Untriaged to In Progress in Azure MCP Server Nov 4, 2025
@joshfree joshfree added this to the 2025-11 milestone Nov 4, 2025
@joshfree
Copy link
Copy Markdown
Member

joshfree commented Nov 4, 2025

Let's backport this to 1.x too

Copy link
Copy Markdown
Member

@joshfree joshfree left a comment

Choose a reason for hiding this comment

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

Please update changelog - make it REALLY clear that this is an important fix

@JasonYeMSFT
Copy link
Copy Markdown
Member

You may ping owners of other MCP servers to check this as well. Or you can check it for them.

@hallipr
Copy link
Copy Markdown
Member

hallipr commented Nov 4, 2025

Should we have a common module for use by the servers' extension.ts files? I feel like there's going to be a large amount of code that's just copy-pasted between servers.

@g2vinay g2vinay force-pushed the update-vsix-versioning branch from 3ed5795 to eeac572 Compare November 22, 2025 00:07
@g2vinay g2vinay dismissed joshfree’s stale review November 22, 2025 00:46

dismissing to merge.

@g2vinay g2vinay merged commit 91a979d into microsoft:main Nov 22, 2025
23 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Azure MCP Server Nov 22, 2025
colbytimm pushed a commit to colbytimm/microsoft-mcp that referenced this pull request Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

7 participants