Skip to content

[Due for payment 2026-05-15] Use agent-device to measure sentry-related metrics #89711

Closed

Description

@kacper-mikolajczak

PR #88594

Background

Sentry telemetry spans (e.g., ManualNavigateToInboxTab) are our
primary signal for measuring user-perceivable performance on iOS
and Android. Today, getting a duration for a given span on a given
revision requires: launching the app manually, performing the flow
by hand, switching to Sentry, locating the trace, reading the
duration, and repeating to get a stable sample. There is no shared
tool for replaying a flow N times locally and printing a summary.

Problem

When a contributor wants to know whether their change moved a
telemetry span, the manual replay-and-read loop takes long enough
that they skip it, which prevents us from catching perf regressions
before merge.

Solution

Add a Claude Code skill measure-telemetry-span that wraps a
script measure.sh. The script:

  1. Replays a tagged agent-device flow N times against the currently
    checked-out revision.
  2. Captures the named Sentry span duration for each run.
  3. Prints a summary (min/median/max/stddev) to stdout.
Issue OwnerCurrent Issue Owner: @BartekObudzinski

Activity

  1. kacper-mikolajczak commented on May 6, 2026

    @kacper-mikolajczak
    ContributorAuthor

    @BartekObudzinski I thought having tracking issue for #88594 could be helpful.

    @Julesssss could you assign Bartek? Thanks!

  2. Julesssss commented on May 6, 2026

    @Julesssss
    Contributor

    Merged, thank you!

  3. changed the title [-]Use agent-device to measure sentry-related metrics[/-] [+][Due for payment 2026-05-15] Use agent-device to measure sentry-related metrics[/+] on May 8, 2026
  4. melvin-bot commented on May 8, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.68-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-05-15. 🎊

    For reference, here are some details about the assignees on this issue:

  5. melvin-bot commented on May 11, 2026

    @melvin-bot

    @BartekObudzinski Whoops! This issue is 2 days overdue. Let's get this updated quick!

  6. Julesssss commented on May 11, 2026

    @Julesssss
    Contributor

    PR merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Daily

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions