Skip to content

Resolve "Replace raven-js with @sentry/browser"

Dennis Tang requested to merge 26138-replace-raven-js-with-sentry-browser into master

What does this MR do?

  • Use @sentry/browser SDK instead of raven-js
  • Update raven-js config/init to use Sentry
  • Update webpack config to use new Sentry SDK
  • Update raven-js specs for @sentry/browser
  • Use new @sentry/browser methods
  • Use latest @sentry/browser version
  • Update SentryJS sample rate
  • Update deprecated config values in SentryJS
  • Set TODO to remove IGNORE_ERRORS from Sentry
  • Update spec for BLACKLIST_URLS
  • Rename/rework raven_js_spec to sentry_js_spec
  • Move SAMPLE_RATE to const to fix spec
  • Update and migrate Sentry specs to Jest
  • Update sentry_js rspec

Testing instructions

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #26138 (closed)

Edited by Dennis Tang

Merge request reports