Add NativeAOT support for the Blazor Gateway CLI - #68588
Draft
javiercn wants to merge 2 commits into
Draft
Conversation
Package the Blazor Gateway CLI as RID-specific NativeAOT tools with a framework-dependent fallback, and validate installed package behavior. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep the framework-dependent tool's cross-major runtime roll-forward policy and terminate timed-out test tool processes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1505127b-29c1-4548-bef2-dfb7afd593fb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Microsoft.AspNetCore.Components.Gateway.Cliinto a first-class executable .NET toolanyframework-dependent fallback for source-build, Mono, and unsupported platformsStage gate
Directional local
win-x64measurements:/aliveThe gate passed on working-set reduction while proxy throughput remained within the required 5%. NativeAOT publishing produced no trimming or AOT warnings.
Final local packages:
any: 2,315,668 Bwin-x64: 11,792,264 B, excluding debug symbolsValidation
dotnet pack .\src\Components\Gateway\cli\Microsoft.AspNetCore.Components.Gateway.Cli.csproj -c Releasedotnet test .\src\Components\Gateway\test\Microsoft.AspNetCore.Components.Gateway.Tests.csproj --no-restore -c Release --filter "FullyQualifiedName~Microsoft.AspNetCore.Components.Gateway"— 32 passedwin-x64native tool with dynamic code disabledanyfallback, ran--info, and verified/alivereturns 200Cross-platform follow-up
Official CI still needs to validate native execution and RID selection across Linux/glibc, Linux/musl, macOS, Windows x86, and Windows arm64; Unix execute permissions; macOS signing/notarization; and native symbol harvesting.