[No QA] fix: telemetry outliers#65191
Conversation
|
@DylanDylann Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
I'm fine with naming Overall I couldn't run into edge cases with the current markers. |
|
@adhorodyski Can you please merge main? |
|
@adhorodyski Please fix all failed GH actions |
|
@DylanDylann all correct now, over to you 🙂 |
|
NAB: I see that we don't have a log when clicking the report on the search page, although in this case, we also call OpenReport API. We can consider adding it Screen.Recording.2025-07-03.at.16.36.15.mov |
Reviewer Checklist
Screenshots/VideosScreen.Recording.2025-07-03.at.16.34.30.mov |
DylanDylann
left a comment
There was a problem hiding this comment.
LGTM. There is one suggestion here, but it is out of the scope of this PR, so I will approve this PR to move forward it
|
@mountiny a friendly ping |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.1.77-1 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.77-2 🚀
|
@mountiny
Explanation of Change
This PR aims to fix measurement outliers in our performance metrics:
splash_screenstabilized across all platforms (anytime we callhide()). The long timings were reported because of theSignInpage not marking and end to this event. Once we got through the magic code, LHN sent eg. 2mins spent on this metric. For Android, this was not reporting at all because of theclearDatawhen opening up the app (active status).open_appremoved (in favor ofsplash_screen, it made no sense as there's no clear way or figuring out when it settles after we hide the splash.splash_screenplays this role really well in testing, especially given open_app could report smaller timings because we start mounting the screens under the hood)open_report_from_previewstabilized (new table view was missing an end event)open_report_searchaddedExample error before this PR - open_app reported right after I signed into the app with the wrong value.

Fixed Issues
$ #62185
PROPOSAL: N/A
Tests
start/endmethods in theTiming.tsmodule.Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop