feat: Associate JSErrors and AjaxRequest to extended soft nav interactions#1554
Merged
cwli24 merged 1 commit intosn-lt-ajaxfrom Sep 4, 2025
Merged
feat: Associate JSErrors and AjaxRequest to extended soft nav interactions#1554cwli24 merged 1 commit intosn-lt-ajaxfrom
cwli24 merged 1 commit intosn-lt-ajaxfrom
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✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## sn-lt-ajax #1554 +/- ##
==============================================
+ Coverage 87.71% 88.37% +0.66%
==============================================
Files 201 201
Lines 7799 7805 +6
Branches 1591 1593 +2
==============================================
+ Hits 6841 6898 +57
+ Misses 825 787 -38
+ Partials 133 120 -13
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:
|
|
Last ran on |
metal-messiah
approved these changes
Sep 3, 2025
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.
JavascriptErrorandAjaxRequestevents will be correctly tied toBrowserInteractionwhen long tasks do/does not happen and extend the interaction. Ultimately, events that start before the final end time of an interaction will be associated to it, inclusive of long tasks.Overview
(3 of 3 modifying soft navigation heuristic.) During the waiting window of an interaction monitoring for long tasks, JS errors and network requests still occur, and will initially be associated with the interaction that's "pending finish". In the event that there's ultimately no long task, those jse & ajax falling within this window are freed from ixn association and returned to their standalone features. On contrary, if a long task does occur which extends the interaction, they too will become part of the interaction. In other words, association remains faithful to the final time span of the interaction.
Related Issue(s)
https://new-relic.atlassian.net/browse/NR-438511
https://new-relic.atlassian.net/browse/NR-452609
Testing