[NOQA] fix:ghost span in ManualScanProcessAndNavigate metric#92919
Conversation
|
Codex Review: Didn't find any major issues. Another round soon, please! ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
@eh2077 @cristipaval One of you needs to 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] |
Lets skip C+ review here. Ready for your review @cristipaval |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🚧 @cristipaval has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/cristipaval in version: 9.4.2-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Help site review: No documentation changes required. This PR is a purely internal telemetry fix. It adds Why no docs are needed
No draft help site PR was created since there is nothing to document. cc @OlimpiaZurek — please let me know if you'd like me to document anything related to this change anyway. |
|
🚀 Deployed to staging by https://github.com/cristipaval in version: 9.4.4-1 🚀
Bundle Size Analysis (Sentry): |
|
🤖 No help site changes required. I reviewed the changes in this PR against the help site content under This PR is a purely internal telemetry fix: it adds There is no user-facing change here — no UI, button labels, feature behavior, copy, or workflow is affected. The single modified file only touches span lifecycle for an observability metric. Nothing in @OlimpiaZurek, since this is an internal telemetry-only change, no help site PR was created. If you believe any user-facing docs are affected, let me know and I'll take another look. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.4.4-3 🚀
|
Explanation of Change
This PR fixes ghost spans in the
ManualScanProcessAndNavigateSentry metric. Three navigation-exit branches inScanGlobalCreate.navigateGlobalCreatestartedSPAN_SCAN_PROCESS_AND_NAVIGATEbut never ended it, leaving the span dangling until an unrelated cancel call closed it minutes later.Fixed Issues
$ #92794
PROPOSAL:
Tests
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 stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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