Skip to content

Draft: POC to Add source map uploads to Sentry in webpack

Miguel Rincon requested to merge 411547-sentry-sourcemaps-upload into master

What does this MR do and why?

This is a POC on how we could update source maps to Sentry.

Screenshots or screen recordings

NA

How to set up and validate locally

  1. You need to have a SENTRY_AUTH_TOKEN, I can add it to 1Password upon request if needed.
  2. Check this branch out
  3. Run yarn install to update the dependencies locally.
  4. After that you can run:
SENTRY_AUTH_TOKEN="[redacted]" scripts/upload_sourcemaps_to_sentry

The script runs webpack and uploads files to sentry.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #411547

Edited by Miguel Rincon

Merge request reports

Loading