fix: User frustrations logic should be gated#1600
Merged
Conversation
Supportability Metric Usage Changes:No matching changes found Supportability Metrics .md File Changes:supportability_metrics.md was changed? New supportability metrics require changes to supportability_metrics.md, as well as a new PR to Angler. Please ensure an Angler PR is created and linked to this PR. |
Asset Size Report
Merging this pull request will result in the following asset size changes:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1600 +/- ##
=======================================
Coverage 88.60% 88.60%
=======================================
Files 206 206
Lines 7746 7748 +2
Branches 1584 1586 +2
=======================================
+ Hits 6863 6865 +2
Misses 772 772
Partials 111 111
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
metal-messiah
previously approved these changes
Oct 22, 2025
cwli24
reviewed
Oct 23, 2025
metal-messiah
approved these changes
Oct 24, 2025
cwli24
approved these changes
Oct 24, 2025
Contributor
Author
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.

Move user frustrations logic to browser scope only with FF gate in Generic Events instrumentation. This should avoid running extraneous wrapping logic and events related to user frustrations.
Overview
Avoid running extraneous logic if
user_frustrationsFF is not enabled.Related Issue(s)
NR-443293
Testing
Adjusted the component test to include the FF (it caught the logic stopped running w/o the FF).