Repository navigation
[tests] Refresh BuildReleaseArm64 APK references - #13672
Merged
Merged
Conversation
The `BuildReleaseArm64` reference sizes had drifted (e.g. Simple CoreCLR `PackageSize` 6460937 -> 6325692) since they were last refreshed in b6f5b1d. The new references are the `.apkdesc` files produced by `main` rolling builds on the `dotnet-android` pipeline (dnceng-public, definition 333). Successful builds don't upload `bin/TestRelease/*.apkdesc`, so these come from the newest builds that published test results: * https://dev.azure.com/dnceng-public/public/_build/results?buildId=1684988 (5d51368): XForms CoreCLR R8 * https://dev.azure.com/dnceng-public/public/_build/results?buildId=1682876 (dac769e): Simple CoreCLR, Simple CoreCLR R8, XForms CoreCLR Only sizes changed; the set of APK entries is unchanged. Line endings were normalized from CRLF (Windows agents) to LF. The NativeAOT references are not exercised by `BuildReleaseArm64` and are unchanged. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Recent successful rolling builds did not publish the test descriptions, so regenerate the four CoreCLR references from main 78ef747 with the Release SDK and apkdiff 0.0.17. The previous references made all four tests inconclusive because of size decreases. `make prepare CONFIGURATION=Release MSBUILD_ARGS='-m:4' && make leeroy CONFIGURATION=Release MSBUILD_ARGS='-m:4'` passed. With the new descriptions embedded, `CONFIGURATION=Release ./dotnet-local.sh test bin/TestRelease/net11.0/Xamarin.Android.Build.Tests.dll --filter 'Name~BuildReleaseArm64'` passed all four cases. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for this APK size baseline refresh.
No open issues 🎉
What changed in this PR
Refreshes the APK size baselines used by .NET for Android’s BuildReleaseArm64 tests, addressing inconclusive results caused by outdated references.
Changes:
- Updates DEX, assembly-store, native-library, and total package sizes for the Simple and XForms CoreCLR fixtures, with and without R8.
- Changes reference data only; test logic and production code remain unchanged.
The PR reports a successful Release SDK build and all four targeted tests passing.
| File | Description |
|---|---|
src/Xamarin.Android.Build.Tasks/Tests/Xamarin.ProjectTools/Resources/Base/BuildReleaseArm64XFormsDotNet.CoreCLR.R8.apkdesc |
Refreshes the XForms CoreCLR baseline with R8. |
src/Xamarin.Android.Build.Tasks/Tests/Xamarin.ProjectTools/Resources/Base/BuildReleaseArm64XFormsDotNet.CoreCLR.apkdesc |
Refreshes the XForms CoreCLR baseline without R8. |
src/Xamarin.Android.Build.Tasks/Tests/Xamarin.ProjectTools/Resources/Base/BuildReleaseArm64SimpleDotNet.CoreCLR.R8.apkdesc |
Refreshes the Simple CoreCLR baseline with R8. |
src/Xamarin.Android.Build.Tasks/Tests/Xamarin.ProjectTools/Resources/Base/BuildReleaseArm64SimpleDotNet.CoreCLR.apkdesc |
Refreshes the Simple CoreCLR baseline without R8. |
Review effort: Balanced
simonrozsival
enabled auto-merge (squash)
November 20, 2026 16:11
Member
|
All four CI is red because |
jonathanpeppers
approved these changes
Nov 20, 2026
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.
The committed APK descriptions had drifted from current
main, causing all fourBuildReleaseArm64cases to report size decreases as inconclusive. Regenerate the references frommainat78ef747b64so the size checks pass against the current build outputs.Validation:
make prepare CONFIGURATION=Release MSBUILD_ARGS='-m:4' && make leeroy CONFIGURATION=Release MSBUILD_ARGS='-m:4'passed;CONFIGURATION=Release ./dotnet-local.sh test bin/TestRelease/net11.0/Xamarin.Android.Build.Tests.dll --filter 'Name~BuildReleaseArm64'passed (4 tests).