-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: custom tracing in production builds #27124
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #27124 +/- ##
==========================================
Coverage ? 70.08%
==========================================
Files ? 1452
Lines ? 50225
Branches ? 14019
==========================================
Hits ? 35200
Misses ? 15025
Partials ? 0 ☔ View full report in Codecov by Sentry. |
Builds ready [fd724af]
Page Load Metrics (1808 ± 85 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
No dependency changes detected. Learn more about Socket for GitHub ↗︎ 👍 No dependency changes detected in pull request |
@SocketSecurity ignore-all |
Builds ready [ee6b05a]
Page Load Metrics (1574 ± 94 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [929782d]
Page Load Metrics (1712 ± 62 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Quality Gate passedIssues Measures |
Builds ready [41cf178]
Page Load Metrics (1647 ± 81 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Co-authored-by: legobeat <[email protected]>
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Quality Gate passedIssues Measures |
Builds ready [5bac41e]
Page Load Metrics (1664 ± 87 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Missing release label release-12.3.0 on PR. Adding release label release-12.3.0 on PR and removing other release labels(release-12.6.0), as PR was cherry-picked in branch 12.3.0. |
Description
Update trace utilities to use Sentry functions via
globalThis
(populated bysetupSentry.js
) to avoid LavaMoat failures in production builds.Also add trace E2E tests to automatically validate this functionality going forward.
Related issues
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist