feat: MUSD-1140 add sentry tracing for money account balance service network requests#32995
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 391ed87. Configure here.
391ed87 to
3f7d728
Compare
…account-balance-service-network-requests
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
The No other E2E areas are affected - this is isolated to the Money/Card feature area with no changes to shared components (navigation, modals, confirmations, browser, etc.). Performance Test Selection: |
|




Description
Wires Sentry tracing into
MoneyAccountBalanceServiceso its network requests show up as spans instead of being invisible to us in production. We had no way to tell how long balance fetches take or spot regressions, so this bumps the service package to2.2.0(which adds the trace callback hook) and passes in a callback that tags each span with app foreground/background state and forwards it to our existingtrace()util under a newMoneyAccountDataFetchoperation.Changelog
CHANGELOG entry: null
Related issues
Fixes: MUSD-1140: Add Sentry tracing for money-account-balance-service network requests
Manual testing steps
Screenshots/Recordings
N/A — instrumentation-only change, verified via Sentry span output rather than UI.
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist