[ENG-17987][eas-cli] delete branch in background#3258
Merged
Conversation
|
Size Change: -1.37 kB (0%) Total Size: 54.9 MB
|
|
Subscribed to pull request
Generated by CodeMention |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3258 +/- ##
==========================================
+ Coverage 51.89% 51.91% +0.02%
==========================================
Files 631 632 +1
Lines 25860 25872 +12
Branches 5435 5436 +1
==========================================
+ Hits 13418 13428 +10
- Misses 11323 11325 +2
Partials 1119 1119 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
wschurman
approved these changes
Nov 18, 2025
aa83807 to
14ac9c1
Compare
|
✅ Thank you for adding the changelog entry! |
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
Add support for deleting EAS branches and their updates in the background. Previously, branch deletion was done synchronously, which could lead to timeouts or failures when deleting branches with many updates. This change implements a background job approach for branch deletion to improve reliability.
How
scheduleUpdateBranchDeletionthat creates a background job for branch deletionscheduleBranchDeletionAsyncin a new filebranch/delete.tsbranch deletecommand to use the background job approach instead of the synchronous deletionpollForBackgroundJobReceiptAsyncTest Plan
EXPO_DEBUG=1 eas-dev branch:createEXPO_DEBUG=1 eas-dev branch:delete, ensure successful receipteas-dev branch:list, make sure branch we just deleted is absent