[No QA] Remove infinite-skeleton Sentry span tracking - #98034
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
8e5ad0f to
62ef218
Compare
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
PR doesn’t need product input as a perf tracking PR. Unassigning and unsubscribing myself. |
rlinoz
left a comment
There was a problem hiding this comment.
Love it, ran a quick smoke test and it look like it's all good!
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
all yours @mountiny |
mountiny
left a comment
There was a problem hiding this comment.
very happy to remove this much code
|
🚧 mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.4.52-0 🚀
|
|
🤖 No help site changes required. I reviewed this PR against Expensify's help site content under Why no help site update is needed:
Since there's nothing customer-facing to document, I did not create a draft help site PR. @TMisiukiewicz, please let me know if you believe any user-facing behavior changed here that I may have missed — if so, I'll draft the help site update. |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.4.52-11 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Removes the Sentry "infinite skeleton" span tracking that was added in #76299 (for #74138). Specifically:
src/libs/telemetry/useSkeletonSpan.tsand all 21 call sites.reasonAttributesprop plumbing (462 references across 274 files) along with the*ReasonAttributes/*REASON_ATTRIBUTESlocals that existed solely to feed it.reasonContext(SkiaWebChart),context(TableLoadingState, AccountingSetupWebViewPage, useNativeCamera, SelectionListEmptyState),loadingReasonContext(PDFDownloadModal).src/libs/telemetry/middlewares/minDurationFilter.tsand its registration in the beforeSend middleware chain, plus theminDurationoption onstartSpaninsrc/libs/telemetry/activeSpans.ts(skeleton spans were its only producer).CONST.TELEMETRYentries:SPAN_SKELETON,ATTRIBUTE_MIN_DURATION,ATTRIBUTE_SKELETON_PREFIX,EVENT_SKELETON_ATTRIBUTES_UPDATE,CONFIG.SKELETON_MIN_DURATION.Deliberately kept (separate feature, not part of #76299):
useCancelSendMessageSpanOnSkeleton,CONST.TELEMETRY.ATTRIBUTE_CANCELED_BY_SKELETON,CONST.TELEMETRY.ATTRIBUTE_SKELETON_SHOWN,useMarkOpenReportEndOnSkeleton.This is a pure telemetry removal — no user-visible behavior change. All skeleton/loading components render exactly as before; only the Sentry spans and the props feeding them are gone.
Fixed Issues
$ #98036
PROPOSAL:
Tests
Offline tests
N/A
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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.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