Measure only mobile package files in SOD jobs#5266
Open
matouskozak wants to merge 1 commit into
Open
Conversation
Stage only the signed APK or IPA and version metadata for mobile SizeOnDisk work items so publish sidecars do not inflate package or extracted-size metrics. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9cde6db4-052e-4355-a252-05b45b2e624e
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates MAUI mobile SizeOnDisk (SOD) Helix work items so that app-size metrics measure only the actual package artifacts (signed APK/IPA) plus versions.json, instead of recursively measuring an entire publish directory that may contain unrelated build outputs.
Changes:
- Android SOD work items now stage only the signed APK and
versions.jsonintopub(instead of copying the whole scenario directory). - iOS SOD work items now stage only the IPA and
versions.jsonintopub, and unpack only the staged IPA for extracted-size measurements.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| eng/performance/maui_scenarios_ios.proj | Restricts iOS SOD staging to the IPA + versions.json, and unpacks only the staged IPA for extracted-size measurement. |
| eng/performance/maui_scenarios_android.proj | Restricts Android SOD staging to the APK + versions.json, and unpacks only the staged APK for extracted-size measurement. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
versions.jsonfor mobile package-size SOD work itemsRelated: #5265
Validation
xmllint --noout eng/performance/maui_scenarios_android.proj eng/performance/maui_scenarios_ios.projgit diff --check origin/main...HEADReview
Reviewed independently with Claude Sonnet 5, Claude Opus 4.8, and Gemini 3.6 Flash; no high-confidence issues found.