-
Notifications
You must be signed in to change notification settings - Fork 839
Fix mcpserver test baselines #6874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix mcpserver test baselines #6874
Conversation
There was a problem hiding this 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
toregistry_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 |
@stephentoub You'll need to merge the change from this into your branch for #6873 to pass CI. |
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