Skip to content

[eas-cli] Add --auto-configure-update flag to eas build - #4139

Closed
williamgrosset wants to merge 1 commit into
williamgrosset/build-link-project-idfrom
williamgrosset/build-auto-configure-update
Closed

[eas-cli] Add --auto-configure-update flag to eas build#4139
williamgrosset wants to merge 1 commit into
williamgrosset/build-link-project-idfrom
williamgrosset/build-auto-configure-update

Conversation

@williamgrosset

@williamgrosset williamgrosset commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Why

Users/agents should be able to configure EAS update before a build command runs, so that a user doesn't have to complete a rebuild after.

How

  • Added --auto-configure-update to eas build: before the build starts, installs expo-updates, sets updates.url and runtimeVersion in the app config, syncs native config, and adds channels to build profiles
  • Equivalent to running eas update:configure before the build, scoped to the build's --platform
  • Repeat runs change nothing. ensureEASUpdateIsConfiguredInEasJsonAsync (shared with eas update:configure) now skips the eas.json write when no profile changed

Test Plan

Manually verified EAS update is configured and eas build continues it's execution:

auto-configure-update-flag.mov

@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.64%. Comparing base (4c5d06f) to head (00abafe).

Additional details and impacted files
@@                           Coverage Diff                            @@
##           williamgrosset/build-link-project-id    #4139      +/-   ##
========================================================================
+ Coverage                                 62.53%   62.64%   +0.12%     
========================================================================
  Files                                      1009     1009              
  Lines                                     45753    45765      +12     
  Branches                                   9627     9631       +4     
========================================================================
+ Hits                                      28608    28667      +59     
+ Misses                                    15690    15653      -37     
+ Partials                                   1455     1445      -10     

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

@williamgrosset
williamgrosset force-pushed the williamgrosset/build-auto-configure-update branch from 449d3e8 to f445489 Compare August 4, 2026 20:44
@williamgrosset
williamgrosset force-pushed the williamgrosset/build-auto-configure-update branch from f445489 to fe4c113 Compare August 4, 2026 20:48
@williamgrosset
williamgrosset force-pushed the williamgrosset/build-auto-configure-update branch from fe4c113 to 00abafe Compare August 4, 2026 22:50
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

✅ Thank you for adding the changelog entry!

@brentvatne

Copy link
Copy Markdown
Member

why not just run eas build:configure and eas update:configure independently?

@williamgrosset

williamgrosset commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

See #4138 for discussion.

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