chore(analytics): sweep saveDataRecording from bridge-controller test mocks#31994
Open
NicolasMassart wants to merge 3 commits into
Open
chore(analytics): sweep saveDataRecording from bridge-controller test mocks#31994NicolasMassart wants to merge 3 commits into
NicolasMassart wants to merge 3 commits into
Conversation
Contributor
|
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. |
6 tasks
c14e6dc to
7d1bb2a
Compare
Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #31994 +/- ##
=======================================
Coverage 83.37% 83.38%
=======================================
Files 5816 5819 +3
Lines 151922 151988 +66
Branches 35741 35748 +7
=======================================
+ Hits 126662 126728 +66
Misses 16588 16588
Partials 8672 8672 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Removes
saveDataRecording: falsefrom the inlinebuild()return value inbridge-controller-init.test.ts. The field was stale after the legacysaveDataRecordingchain was removed in N8 (#31256).This is PR-D of 6 in the owner-scoped sequence finishing the legacy MetaMetrics migration (#26820). PRs A–E are parallel mock-sweeps; PR-F does the interface removal once all five merge.
Changelog
CHANGELOG entry: null
Related issues
Refs: #26820
Manual testing steps
N/A — test mock cleanup only; unit tests cover the changed file.
Screenshots/Recordings
Before
N/A
After
N/A
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an examplePre-merge reviewer checklist
Note
Low Risk
Test-only mock cleanup with no production or analytics runtime changes.
Overview
Removes the obsolete
saveDataRecording: falsefield from theAnalyticsEventBuilderbuild()mock inbridge-controller-init.test.ts, aligning the test stub withAnalyticsTrackingEventafter the legacysaveDataRecordingchain was dropped (N8 / #31256).This is PR-D in the owner-scoped mock sweep ahead of removing the field from the analytics interface (#26820); runtime bridge init and metrics behavior are unchanged.
Reviewed by Cursor Bugbot for commit 263cde4. Bugbot is set up for automated code reviews on this repo. Configure here.