fix: attach AB testing params to whats happening events#30498
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. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ 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 8748618. Configure here.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
The TrendingView is part of the SmokeWalletPlatform tag (Trending discovery tab). Since the change touches the TrendingView's A/B test config, a minimal smoke run of SmokeWalletPlatform is appropriate to confirm the analytics enrichment doesn't break any Trending-related flows. However, the risk is very low — this is purely additive analytics metadata configuration with no functional behavior change. No other tags are warranted: no confirmations, no accounts, no networks, no swaps, no snaps, no browser, no identity flows are affected. Performance Test Selection: |
|




Description
Adds missing ab testing properties to whats happening events.
Changelog
CHANGELOG entry: no-changelog
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
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
Note
Low Risk
Low risk: expands analytics allowlisting for an existing A/B test and adds unit coverage; no changes to business logic beyond which events get enriched.
Overview
Ensures the Whats Happening Explore A/B test assignment (
active_ab_tests) is attached to additional Whats Happening analytics events, not justEXPLORE_INTERACTED.Updates the allowlist in
TrendingView/abTestConfig.tsto include scroll, details open/view/close, and interaction events, and extendsenrichWithABTeststest coverage via a parameterized test to validate enrichment across those event types.Reviewed by Cursor Bugbot for commit f6e0a02. Bugbot is set up for automated code reviews on this repo. Configure here.