Skip to content

feat(analytics): introduce @metamask/analytics-client package and consolidate tracking types#1263

Open
abretonc7s wants to merge 13 commits into
redis-consolidationfrom
ab/analytics-client
Open

feat(analytics): introduce @metamask/analytics-client package and consolidate tracking types#1263
abretonc7s wants to merge 13 commits into
redis-consolidationfrom
ab/analytics-client

fix: add missing storage manager

10f23b7
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 6, 2026 in 0s

74.00% (+0.27%) compared to 768e716

View this Pull Request on Codecov

74.00% (+0.27%) compared to 768e716

Details

Codecov Report

❌ Patch coverage is 80.30303% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.00%. Comparing base (768e716) to head (10f23b7).

Files with missing lines Patch % Lines
...tion/EventListeners/handleClientsConnectedEvent.ts 50.00% 4 Missing ⚠️
...rvice/ConnectionManager/handleJoinChannelResult.ts 40.00% 3 Missing ⚠️
...emoteCommunication/ConnectionManager/disconnect.ts 66.66% 1 Missing ⚠️
...teCommunication/ConnectionManager/rejectChannel.ts 66.66% 1 Missing ⚠️
...ketService/EventListeners/handleChannelRejected.ts 66.66% 1 Missing ⚠️
...ices/SocketService/EventListeners/handleMessage.ts 66.66% 1 Missing ⚠️
...SocketService/MessageHandlers/handleSendMessage.ts 66.66% 1 Missing ⚠️
...s/MetaMaskSDK/InitializerManager/setupAnalytics.ts 87.50% 1 Missing ⚠️
Additional details and impacted files
@@                   Coverage Diff                   @@
##           redis-consolidation    #1263      +/-   ##
=======================================================
+ Coverage                73.73%   74.00%   +0.27%     
=======================================================
  Files                      182      181       -1     
  Lines                     4355     4301      -54     
  Branches                  1067     1061       -6     
=======================================================
- Hits                      3211     3183      -28     
+ Misses                    1144     1118      -26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.