[build-tools] Add read app config and package.json functions #3585
Draft
[build-tools] Add read app config and package.json functions #3585
Conversation
Add new eas/read_package_json and eas/read_app_config workflow functions and register them so fingerprint jobs can log project metadata consistently with build setup.
Move the fingerprint workflow read-step entry from Bug fixes to New features in the main changelog section.
0d7e5d1 to
6487637
Compare
Author
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3585 +/- ##
==========================================
+ Coverage 54.27% 54.30% +0.03%
==========================================
Files 820 822 +2
Lines 35055 35077 +22
Branches 7260 7261 +1
==========================================
+ Hits 19024 19046 +22
Misses 15944 15944
Partials 87 87 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
✅ Thank you for adding the changelog entry! |
EvanBacon
reviewed
Apr 9, 2026
| fn: async (stepCtx, { env }) => { | ||
| const metadata = stepCtx.global.staticContext.metadata as Metadata | undefined; | ||
| const appConfig = ( | ||
| await readAppConfig({ |
Contributor
There was a problem hiding this comment.
Same as npx expo config --type public --json
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
Needing to add this information in the fingerprint job and thought about creating reusable steps that we can add into others as needed.
Ref ENG-20510
How
Creating 2 new functions that reuse existing utils functions.
Test Plan
yarn buildprocess-compose upyarn start:docker(impersonate staging first)yarn start:localEXPO_LOCAL=1 npx eas-cli@latest workflow:run fingerprint-test.ymlonProduced


