-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[eas-cli] Add rollout-percentage flag to update command #2502
[eas-cli] Add rollout-percentage flag to update command #2502
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @wschurman and the rest of your teammates on Graphite |
Size Change: +4.69 kB (+0.01%) Total Size: 51.1 MB
|
464b803
to
3c850e6
Compare
3c850e6
to
85ec3a8
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2502 +/- ##
==========================================
+ Coverage 52.87% 52.89% +0.03%
==========================================
Files 544 544
Lines 20085 20154 +69
Branches 4096 4114 +18
==========================================
+ Hits 10617 10659 +42
- Misses 8654 8674 +20
- Partials 814 821 +7 ☔ View full report in Codecov by Sentry. |
2332815
to
cc2fc9a
Compare
85ec3a8
to
a150d1f
Compare
cc2fc9a
to
a28439a
Compare
a150d1f
to
8ac3ba6
Compare
8ac3ba6
to
6ee4fd1
Compare
❌ It looks like a changelog entry is missing for this PR. You have two options: you can add it manually, or you can use the changelog bot to do it for you. |
Merge activity
|
Why
This adds support for the new EAS Update concept: rollout updates. These are updates that are set up to only be served to a certain percentage of users, falling back to a control update. In this PR, the control update is set to the most recent update ID matching the platform and runtime version on the same branch as the branch being published to.
Note that this doesn't care what that update is; it could be a rollout update itself. In this case, the rollout nature of that control update is ignored, essentially ending any previous rollout.
How
Add flag, gather info and publish when flag is supplied. Note that this required refactoring the platform typescript types.
Test Plan