Skip to content

[eas-cli] Add eas update:embedded:view command#3810

Draft
gwdp wants to merge 1 commit into
mainfrom
gwdp/embedded-update-view-cmd-v2
Draft

[eas-cli] Add eas update:embedded:view command#3810
gwdp wants to merge 1 commit into
mainfrom
gwdp/embedded-update-view-cmd-v2

Conversation

@gwdp
Copy link
Copy Markdown
Contributor

@gwdp gwdp commented May 29, 2026

Why

Lets users inspect an embedded update they've uploaded from the CLI. Pairs with the server query in expo/universe#27769. Ref ENG-21467.

How

Mirrors eas update:embedded:upload / :delete. --json round-trips the raw embedded-update payload; otherwise prints a formatted table. NOT_FOUND on either unknown id or cross-app surfaces a friendly message.

Query wrapper uses inline types + eslint-disable graphql/template-strings until the server query merges and codegen regenerates generated.ts. Marked draft until then.

Test Plan

yarn tsc --noEmit, yarn lint clean. 4 unit tests: success, --json, NOT_FOUND, unexpected rethrow.

@github-actions
Copy link
Copy Markdown

✅ Thank you for adding the changelog entry!

@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

❌ Patch coverage is 84.61538% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.49%. Comparing base (2c1837f) to head (c8c67e8).

Files with missing lines Patch % Lines
...eas-cli/src/graphql/queries/EmbeddedUpdateQuery.ts 45.46% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3810      +/-   ##
==========================================
+ Coverage   57.46%   57.49%   +0.03%     
==========================================
  Files         911      913       +2     
  Lines       39480    39519      +39     
  Branches     8271     8276       +5     
==========================================
+ Hits        22684    22717      +33     
- Misses      15328    15334       +6     
  Partials     1468     1468              

☔ View full report in Codecov by Sentry.
📢 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.

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