Skip to content

Conversation

jeffhandley
Copy link
Member

@jeffhandley jeffhandley commented Oct 1, 2025

Follow-up to #6796. There were new MCP Server template test baselines added before that PR was created, and those baselines were not updated. This is causing integration test failures in main.

This was caused by us merging (#6772) Update MCP server template before merging (#6796) Update MCP template for new registry specification and without merging main into that PR's branch before merge.

Microsoft Reviewers: Open in CodeFlow

@jeffhandley jeffhandley self-assigned this Oct 1, 2025
@jeffhandley jeffhandley requested a review from a team as a code owner October 1, 2025 06:48
@jeffhandley jeffhandley added the area-ai-templates Microsoft.Extensions.AI.Templates label Oct 1, 2025
@Copilot Copilot AI review requested due to automatic review settings October 1, 2025 06:48
Copy link
Contributor

@Copilot 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 MCP Server template test baselines to align with the new registry specification. The changes fix integration test failures caused by merging changes in the wrong order, where new test baselines were added before the MCP template was updated to the new registry format.

Key changes:

  • Updates JSON schema URL to the official static schema location
  • Restructures package configuration from registry_name/name to registry_type/identifier
  • Adds transport configuration and moves version to top-level

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.net10.verified/mcpserver/.mcp/server.json Updates baseline for .NET 10 template to match new MCP registry specification
test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.SelfContainedFalse.verified/mcpserver/.mcp/server.json Updates baseline for self-contained false template to match new MCP registry specification
test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.AotTrue.verified/mcpserver/.mcp/server.json Updates baseline for AOT true template to match new MCP registry specification

@jeffhandley
Copy link
Member Author

@stephentoub You'll need to merge the change from this into your branch for #6873 to pass CI.

@jeffhandley jeffhandley merged commit d474a89 into dotnet:main Oct 1, 2025
7 checks passed
@jeffhandley jeffhandley deleted the jeffhandley/mcp-server-tests branch October 1, 2025 16:13
jeffhandley added a commit to jeffhandley/extensions that referenced this pull request Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-ai-templates Microsoft.Extensions.AI.Templates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants