Skip to content

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

Open
kadikraman wants to merge 9 commits into
mainfrom
kadikraman/naming-improvements
Open

[eas-cli] improve naming for observe commands#3778
kadikraman wants to merge 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!

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