Skip to content

[eas-cli] Allow new updates to end active rollouts - #4233

Draft
gwdp wants to merge 10 commits into
mainfrom
gwdp/eng-25976-clobber-active-rollout
Draft

[eas-cli] Allow new updates to end active rollouts#4233
gwdp wants to merge 10 commits into
mainfrom
gwdp/eng-25976-clobber-active-rollout

Conversation

@gwdp

@gwdp gwdp commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Note

Leaving on draft until server changes land

Why

Right now you can't publish anything for a runtime version while a rollout is in progress. A customer hit this mid-hotfix and couldn't roll back to embedded. The only ways out were pushing the rollout to 100%, or reverting, which deletes the update group

How

  • Before publishing on eas update, eas update:republish, eas update:roll-back-to-embedded and eas update:rollback, we check the latest update for each platform and runtime.
  • If one is mid-rollout, we warn and ask if that is the real intent.
  • Upon confirmation, pass the update id from the active rollout, so the server ends it once the new update can actually be served. The flag --force-end-active-rollout skips the prompt, and non-interactive needs it

Worth highlighting -> if your new update is itself a rollout, the old one becomes your control update, so its share grows. A 2% rollout over a 20% one leaves the old one serving 98%

Test Plan

  • Local run with local www/website
  • CI w/ full coverage on newer code
carbon carbon (1) carbon (2)

@linear-code

linear-code Bot commented Aug 19, 2026

Copy link
Copy Markdown

ENG-25976

@gwdp gwdp changed the title [eas-cli] allow publishing over an in-progress rollout [www] Allow new updates to clobber active rollouts Aug 19, 2026
@gwdp
gwdp force-pushed the gwdp/eng-25976-clobber-active-rollout branch 2 times, most recently from 34a3056 to 1eea21b Compare August 19, 2026 21:00
@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.82%. Comparing base (ce93a92) to head (09cd9e0).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4233      +/-   ##
==========================================
+ Coverage   63.73%   63.82%   +0.09%     
==========================================
  Files        1030     1031       +1     
  Lines       47448    47548     +100     
  Branches     9977    10011      +34     
==========================================
+ Hits        30237    30341     +104     
+ Misses      17110    17106       -4     
  Partials      101      101              

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

@gwdp
gwdp force-pushed the gwdp/eng-25976-clobber-active-rollout branch from 1eea21b to 4e23118 Compare August 19, 2026 21:30
@gwdp gwdp changed the title [www] Allow new updates to clobber active rollouts [eas-cli] Allow new updates to end active rollouts Aug 20, 2026
@gwdp
gwdp force-pushed the gwdp/eng-25976-clobber-active-rollout branch from df8d5f2 to 105a472 Compare August 20, 2026 16:03
@gwdp
gwdp force-pushed the gwdp/eng-25976-clobber-active-rollout branch from 105a472 to 3a0975a Compare August 20, 2026 16:32
@github-actions

Copy link
Copy Markdown

✅ Thank you for adding the changelog entry!

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