Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@anuchandy
Copy link
Member

@anuchandy anuchandy commented Sep 11, 2025

What does this PR do?

[Provide a clear, concise description of the changes]

Following internal team discussion and agreement to move forward with defaulting to trimming:

  • Updated Build-Module.ps1 to produce single-file versions of trimmed builds
  • Modified build.yml so the "normal" build now produces trimmed builds instead
  • Modified Common.yml to not to publish AOT variant to npm (we'll continue to run AOT gate)

[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 servers/Azure.Mcp.Server/CHANGELOG.md and/or servers/Fabric.Mcp.Server/CHANGELOG.md for product changes (features, bug fixes, UI/UX, updated dependencies)
  • For MCP tool changes:
    • One tool per PR: This PR adds or modifies only one MCP tool for faster review cycles
    • Updated servers/Azure.Mcp.Server/README.md and/or servers/Fabric.Mcp.Server/README.md documentation
    • Updated command list in /docs/azmcp-commands.md and/or /docs/fabric-commands.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
  • Extra steps for Azure MCP Server tool changes:
    • Updated test prompts in /docs/e2eTestPrompts.md
    • 👉 For Community (non-Microsoft 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 mcp - pullrequest - live to run Live Test Pipeline

@joshfree
Copy link
Member

blocking-release for 0.6.0 today

@joshfree joshfree moved this from Untriaged to In Progress in Azure MCP Server Sep 11, 2025
Copilot AI review requested due to automatic review settings September 11, 2025 18:46
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 changes the default build behavior from producing normal builds to producing trimmed single-file builds, implementing a decision to default to trimming for better performance and deployment characteristics.

  • Updated the build pipeline to include trimming and single-file publishing flags by default
  • Modified Directory.Build.props to apply TrimMode=Full globally instead of only for native builds
  • Disabled native builds in the release pipeline to focus on the new trimmed build approach

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
eng/pipelines/templates/jobs/build.yml Added -Trimmed and -SingleFile flags to the Build-Module.ps1 command
eng/pipelines/templates/common.yml Changed IncludeNative parameter from dynamic to hardcoded false
Directory.Build.props Moved TrimMode=Full to global scope and removed duplicate from native build section

@joshfree
Copy link
Member

@wbreza the flakey AZD test failed again on this PR #370

@joshfree
Copy link
Member

You have successfully requested mcp - pullrequest - live (Build Build osx_x64) be rerun.

@weshaggard weshaggard merged commit 3f0f3d2 into microsoft:main Sep 11, 2025
23 of 25 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Azure MCP Server Sep 11, 2025
colbytimm pushed a commit to colbytimm/microsoft-mcp that referenced this pull request Sep 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants