Skip to content

[eas-cli] improve naming for observe commands#3778

Merged
kadikraman merged 9 commits into
mainfrom
kadikraman/naming-improvements
May 26, 2026
Merged

[eas-cli] improve naming for observe commands#3778
kadikraman merged 9 commits into
mainfrom
kadikraman/naming-improvements

Conversation

@kadikraman
Copy link
Copy Markdown
Contributor

Why

Part of ENG-21384

The naming of our CLI commands does not match the website.

How

  • Rename observe:metrics -> observe:metrics-summary
  • Rename observe:events -> observe:metrics
  • Rename observe:logs -> observe:events

Test Plan

Manual and automated testing

@kadikraman kadikraman requested a review from douglowder May 21, 2026 21:38
@linear
Copy link
Copy Markdown

linear Bot commented May 21, 2026

ENG-21384

@github-actions
Copy link
Copy Markdown

Subscribed to pull request

File Patterns Mentions
**/* @douglowder

Generated by CodeMention

Comment thread CHANGELOG.md Outdated

### 🛠 Breaking changes

- [eas-cli] Rename observe commands: `observe:logs` → `observe:events` (events emitted via `logEvent`), previous `observe:events` → `observe:metrics` (individual performance metric samples), previous `observe:metrics` → `observe:metric-summary` (aggregated stats by app version). ([#3778](https://github.com/expo/eas-cli/pull/3778) by [@kadikraman](https://github.com/kadikraman))
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change, but there isn't really a way around it, and that's why we're in preview, right!
I think adding this here will create a major version will mean a major version bump when publishing - is that ok or should I put it in another section?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Major bump is fine

'expo.app_startup.tti': 'Startup TTI',
'expo.app_startup.ttr': 'Startup TTR',
'expo.app_startup.bundle_load_time': 'Bundle Load',
'expo.updates.download_time': 'Update Download',
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed this was missing.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 21, 2026

Codecov Report

❌ Patch coverage is 97.08738% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.16%. Comparing base (4366f51) to head (119d83d).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
packages/eas-cli/src/commands/observe/metrics.ts 88.89% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3778      +/-   ##
==========================================
+ Coverage   56.83%   57.16%   +0.33%     
==========================================
  Files         904      905       +1     
  Lines       39129    39284     +155     
  Branches     8178     8227      +49     
==========================================
+ Hits        22237    22454     +217     
+ Misses      15420    15358      -62     
  Partials     1472     1472              

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

@github-actions
Copy link
Copy Markdown

✅ Thank you for adding the changelog entry!

kadikraman added a commit to expo/expo that referenced this pull request May 26, 2026
# Why

Resolves ENG-21384

Depends on expo/eas-cli#3778

<!--
Please describe the motivation for this PR, and link to relevant GitHub
issues, forums posts, or feature requests.
-->

# How

Add documentation for user-defined events in Observe.

<!--
How did you build this feature or fix this bug and why?
-->

# Test Plan

Review the docs on the preview or locally:
http://localhost:3002/eas/observe/events/

<!--
Please describe how you tested this change and how a reviewer could
reproduce your test, especially if this PR does not include automated
tests! If possible, please also provide terminal output and/or
screenshots demonstrating your test/reproduction.
-->

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [ ] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)

---------

Co-authored-by: Aman Mittal <amandeepmittal@live.com>
@kadikraman kadikraman merged commit 489f38a into main May 26, 2026
10 checks passed
@kadikraman kadikraman deleted the kadikraman/naming-improvements branch May 26, 2026 10:23
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.

2 participants