Skip to content

[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
ash/eng-29203-native-ios-build-numberfrom
ash/eng-29203-native-app-metadata
Draft

hSATAC wants to merge 1 commit into
ash/eng-29203-native-ios-build-numberfrom
ash/eng-29203-native-app-metadata

Conversation

@hSATAC

@hSATAC hSATAC commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Why

A build with builder: xcode never gets appName in its build metadata, so the install link of an internal build fails. It also lacks the commit message, and a simulator build without app_identifier has no identifier. A build with a build profile gets these from eas-cli, which a native build does not run.

How

  • Have eas/verify_native_ios output the name, identifier, version, and build number of the built app. The name is CFBundleDisplayName, then CFBundleName, then the name of the .app bundle.
  • Add the step 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.
  • Run it in the Xcode builder in place of 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.

@hSATAC
hSATAC added this pull request to stack #4964 November 27, 2026 07:15
@linear-code

linear-code Bot commented Nov 27, 2026

Copy link
Copy Markdown

ENG-29203

@codecov

codecov Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.90%. Comparing base (ef6b216) to head (662c85c).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hSATAC
hSATAC force-pushed the ash/eng-29203-native-app-metadata branch from 9ced86c to 662c85c Compare November 27, 2026 07:51
@github-actions

Copy link
Copy Markdown

✅ Thank you for adding a changeset!

@hSATAC hSATAC changed the title [build-tools] save the app name, identifier, version and commit message of a native iOS build to the build metadata [build-tools] save the app name, identifier, version and commit of a native iOS build to the build metadata Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant