Skip to content

Conversation

@anuchandy
Copy link
Member

What does this PR do?

[Provide a clear, concise description of the changes]

[Any additional context, screenshots, or information that helps reviewers]

GitHub issue number?

[Link to the GitHub issue this PR addresses]

Pre-merge Checklist

  • Required for All PRs
    • Read contribution guidelines
    • PR title clearly describes the change
    • Commit history is clean with descriptive messages (cleanup guide)
    • Added comprehensive tests for new/modified functionality
    • Updated CHANGELOG.md for product changes (features, bug fixes, UI/UX, updated dependencies)
    • Spelling check passes: .\eng\common\spelling\Invoke-Cspell.ps1
  • For MCP tool changes:
    • One tool per PR: This PR adds or modifies only one MCP tool for faster review cycles
    • Updated README.md documentation
    • Updated command list in /docs/azmcp-commands.md
    • Updated test prompts in /docs/e2eTestPrompts.md
    • For new or modified tool descriptions, ran ToolDescriptionEvaluator and obtained a score of 0.4 or more and a top 3 ranking for all related test prompts
  • 👉 For Community (non-Azure team member) PRs:
    • Security review: Reviewed code for security vulnerabilities, malicious code, or suspicious activities before running tests (crypto mining, spam, data exfiltration, etc.)
    • Manual tests run: added comment /azp run azure - mcp to run Live Test Pipeline

Copilot AI review requested due to automatic review settings August 26, 2025 01:51
@anuchandy anuchandy requested a review from a team as a code owner August 26, 2025 01:51
Copy link
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 support for building and publishing native (AOT) packages alongside the existing dotnet packages for the Azure MCP Server. The changes enable dual-package distribution with separate native and dotnet variants.

  • Modifies the build pipeline to organize artifacts into separate dotnet and native directories
  • Updates the packaging workflow to handle both package types with separate packing tasks
  • Enhances the publishing template to support both @azure/mcp and @azure/mcp-native packages

Reviewed Changes

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

File Description
eng/pipelines/templates/jobs/build.yml Updates native build output path to staging directory
eng/pipelines/templates/jobs/sign-and-pack.yml Adds artifact organization logic and separate packing tasks for dotnet and native packages
eng/pipelines/templates/steps/publish-to-dev-feed.yml Updates file discovery and documentation to support both package variants

-OutputPath '$(Build.ArtifactStagingDirectory)/packed'
-ArtifactsPath '$(Build.ArtifactStagingDirectory)/topack/native'
-OutputPath '$(Build.ArtifactStagingDirectory)/packed/native'
-Version '$(Version)'
Copy link

Copilot AI Aug 26, 2025

Choose a reason for hiding this comment

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

The -IsNative parameter is introduced without documentation or context. Consider adding a comment explaining what this parameter does in the native packaging process.

Suggested change
-Version '$(Version)'
-Version '$(Version)'
# The -IsNative parameter signals Pack-Modules.ps1 to package native modules instead of dotnet modules.

Copilot uses AI. Check for mistakes.
exit 1
}
$tgzFiles = $tgzDotnetFiles + $tgzNativeFiles
Copy link

Copilot AI Aug 26, 2025

Choose a reason for hiding this comment

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

[nitpick] The logic for combining dotnet and native files could be simplified. Consider extracting the file discovery logic into a helper function to reduce code duplication and improve readability.

Copilot uses AI. Check for mistakes.
@anuchandy anuchandy force-pushed the dual-ship-only-azmcp branch from 60d18d6 to 5e4d79d Compare August 26, 2025 03:12
@anuchandy anuchandy force-pushed the dual-ship-only-azmcp branch from 5e4d79d to e34466f Compare August 26, 2025 03:23
feiskyer pushed a commit to feiskyer/microsoft-mcp that referenced this pull request Sep 8, 2025
* Add aka.ms message to exceptions.

* Return command info with suggested values.

* Fix test failure and documentation
@joshfree joshfree added the Do Not Merge Do Not Merge / WIP PRs label Sep 10, 2025
@joshfree joshfree removed the Do Not Merge Do Not Merge / WIP PRs label Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants