-
Notifications
You must be signed in to change notification settings - Fork 285
Replace normal builds with trimmed single-file builds #405
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
Conversation
|
blocking-release for 0.6.0 today |
6f60b3e to
4b64571
Compare
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 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 |
4b64571 to
e351041
Compare
|
|
c77174c to
49f4271
Compare
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:
[Any additional context, screenshots, or information that helps reviewers]GitHub issue number?
[Link to the GitHub issue this PR addresses]Pre-merge Checklist
servers/Azure.Mcp.Server/CHANGELOG.mdand/orservers/Fabric.Mcp.Server/CHANGELOG.mdfor product changes (features, bug fixes, UI/UX, updated dependencies)servers/Azure.Mcp.Server/README.mdand/orservers/Fabric.Mcp.Server/README.mddocumentation/docs/azmcp-commands.mdand/or/docs/fabric-commands.mdToolDescriptionEvaluatorand obtained a score of0.4or more and a top 3 ranking for all related test prompts/docs/e2eTestPrompts.mdcrypto mining, spam, data exfiltration, etc.)/azp run mcp - pullrequest - liveto run Live Test Pipeline