Skip to content

[build-tools] Add read app config and package.json functions #3585

Draft
gwdp wants to merge 3 commits intomainfrom
gwdp/add-read-package-app-functions
Draft

[build-tools] Add read app config and package.json functions #3585
gwdp wants to merge 3 commits intomainfrom
gwdp/add-read-package-app-functions

Conversation

@gwdp
Copy link
Copy Markdown

@gwdp gwdp commented Apr 8, 2026

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

  • eas-cli yarn build
  • workflow-orchestration process-compose up
  • www yarn start:docker (impersonate staging first)
  • website yarn start:local
  • EXPO_LOCAL=1 npx eas-cli@latest workflow:run fingerprint-test.yml on
name: fingerprint-test

on:
  push:
    branches: ["main"]

jobs:
  fingerprint:
    name: Fingerprint
    type: fingerprint
    environment: preview
    env:
      APP_VARIANT: preview

Produced
Screenshot 2026-04-08 at 1 11 39 PM
Screenshot 2026-04-08 at 1 11 45 PM
Screenshot 2026-04-08 at 1 11 51 PM

gwdp added 2 commits April 8, 2026 13:34
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.
@gwdp gwdp force-pushed the gwdp/add-read-package-app-functions branch from 0d7e5d1 to 6487637 Compare April 8, 2026 20:36
@gwdp
Copy link
Copy Markdown
Author

gwdp commented Apr 8, 2026

@linear
Copy link
Copy Markdown

linear bot commented Apr 8, 2026

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.30%. Comparing base (c6d4fae) to head (c92d958).

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.
📢 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.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

✅ Thank you for adding the changelog entry!

fn: async (stepCtx, { env }) => {
const metadata = stepCtx.global.staticContext.metadata as Metadata | undefined;
const appConfig = (
await readAppConfig({
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as npx expo config --type public --json

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.

2 participants