Upgrade sentry browser SDK to 7.66.0
What does this MR do and why?
Upgrade sentry browser SDK to 7.66.0
MRs in this change chain |
---|
Enable Sentry module treeshaking (!130677 - merged) |
Upgrade sentry browser SDK to 7.66.0 (!130678 - merged) your are here |
Adds Sentry browser performance tracing (!130713 - merged) |
Screenshots or screen recordings
NA
How to set up and validate locally
!130938 (merged) addressed the first step! I made that MR a parent of this one.
After checking out this branch, you'll want to rebuild the dependency tree that sentry uses, on your gdk the following command will work:
rm -rf node_modules/ && yarn install && yarn clean && gdk restart webpack
Note: If any of the reviewers finds a cleaner way to reinstall, I'll be happy to update this command
2. Confirm the installation
One easy way to validate in GDK is to enable Sentry and check it gets configured in the browser console:
- Enable the feature flag:
enable_new_sentry_clientside_integration
, to enable the new integration. - Enabled the feature flag
configure_sentry_in_application_settings
to enable the UI form in admin - Visit http://gdk.test:3000/admin/application_settings/metrics_and_profiling#js-sentry-settings
- Fill the form with some dummy data, ensuring "Enable Sentry error tracking" is turned on.
- Print the following values in your console:
_Sentry.SDK_VERSION // should be "7.66.0"
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #339332 (closed)
Edited by Miguel Rincon