Repository navigation
[build-tools] save the app name, identifier, version and commit of a native iOS build to the build metadata - #4997
Draft
hSATAC wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## ash/eng-29203-native-ios-build-number #4997 +/- ##
=========================================================================
+ Coverage 77.81% 77.90% +0.09%
=========================================================================
Files 1174 1176 +2
Lines 59696 59893 +197
Branches 13224 13265 +41
=========================================================================
+ Hits 46447 46652 +205
- Misses 12250 13121 +871
+ Partials 999 120 -879 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…native iOS build to the build metadata
hSATAC
force-pushed
the
ash/eng-29203-native-app-metadata
branch
from
November 27, 2026 07:51
9ced86c to
662c85c
Compare
|
✅ Thank you for adding a changeset! |
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.
Why
A build with
builder: xcodenever getsappNamein its build metadata, so the install link of an internal build fails. It also lacks the commit message, and a simulator build withoutapp_identifierhas no identifier. A build with a build profile gets these from eas-cli, which a native build does not run.How
eas/verify_native_iosoutput the name, identifier, version, and build number of the built app. The name isCFBundleDisplayName, thenCFBundleName, then the name of the.appbundle.update_remote_build_metadata, which saves those values to the build, together with the hash and message of the checked-out commit, as eas-cli does. It fails the build when EAS does not save them, and it takes plain values, so other builders can run it too.eas/update_resolved_version.Test Plan
Added unit coverage for the outputs, the new step, and the runner. Also ran a simulator build and a signed ad hoc build on a local Mac: both saved the app values and the commit.