Skip to content

[eas-cli] add --build-number to observe:metrics and observe:events - #4278

Open
kadikraman wants to merge 2 commits into
kadikraman/add-apple-platformfrom
kadikraman/build-number
Open

[eas-cli] add --build-number to observe:metrics and observe:events#4278
kadikraman wants to merge 2 commits into
kadikraman/add-apple-platformfrom
kadikraman/build-number

Conversation

@kadikraman

@kadikraman kadikraman commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Why

Resolves ENG-26159.

We were missing a --build-number filter from metrics and events.

How

  • Move the build-number flag to the shared observe flags.
  • Add it to observe:metrics and observe:events

Test Plan

Unit tests.

Metrics

eas observe:metrics tti --build-number 2     # returns only build-2 samples
eas observe:metrics tti --build-number 99    # "No events found."

Events

eas observe:events my_event --build-number 1

@linear-code

linear-code Bot commented Aug 25, 2026

Copy link
Copy Markdown

ENG-26159

@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.06%. Comparing base (8743289) to head (fadd499).

Additional details and impacted files
@@                        Coverage Diff                        @@
##           kadikraman/add-apple-platform    #4278      +/-   ##
=================================================================
+ Coverage                          64.06%   64.06%   +0.01%     
=================================================================
  Files                               1042     1042              
  Lines                              48019    48022       +3     
  Branches                           10136    10138       +2     
=================================================================
+ Hits                               30757    30760       +3     
  Misses                             17146    17146              
  Partials                             116      116              

☔ View full report in Codecov by Harness.
📢 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
kadikraman requested a review from douglowder August 25, 2026 17:31
@kadikraman
kadikraman marked this pull request as ready for review August 25, 2026 17:31
@github-actions

Copy link
Copy Markdown

Subscribed to pull request

File Patterns Mentions
packages/eas-cli/** @douglowder

Generated by CodeMention

Warning: The preamble and epilogue options in commentConfiguration are deprecated. Use template instead.

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