[eas-cli] Add eas update:upload-embedded command#3720
Draft
gwdp wants to merge 2 commits into
Draft
Conversation
|
✅ Thank you for adding the changelog entry! |
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced May 12, 2026
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
EAS Update bundle diffing can't generate patches against the JS bundle embedded in a native build, so the first OTA after install always downloads the full bundle. This command registers the embedded bundle with EAS Update so the diff worker can use it as a patch base.
Ref ENG-21033
How
eas update:upload-embeddedcommand with--platform,--bundle,--manifest,--channel, and optional--build-id/--jsonflagsapp.manifestto extract the embedded update UUID and validates itruntimeVersionvia the same helpereas updateusesgetSignedEmbeddedUpdateAssetUploadSpecifications(passingembeddedUpdateId), uploads the bundleuploadEmbeddedUpdatewithembeddedUpdateId, channel name,runtimeVersion, andplatform— server resolves the asset from the UUID directly, no channel FK lookup neededEMBEDDED_UPDATE_ASSET_NOT_READY(GCS finalization race) with exponential backoff; exits immediately onEMBEDDED_UPDATE_CONFLICTTest Plan
yarn jest src/commands/update/__tests__/upload-embedded.test.ts— 19 tests passyarn tsc && yarn lintpass (4 GQL lint errors pre-existing; embedded update schema not yet merged to eas-cli)