Page MenuHomeSoftware Heritage

webpack: Use sentry plugin in production mode to upload source maps
ClosedPublic

Authored by anlambert on Aug 10 2022, 4:51 PM.

Details

Summary

It enables to help debugging swh-web JavaScript errors in Sentry Web UI
by demangling transpiled, minified and bundled JavaScript in order to
view source code context obtained from stack traces in its original,
untransformed form.

Diff Detail

Repository
rDWAPPS Web applications
Branch
sentry-webpack-plugin
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 30752
Build 48083: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 48082: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D8232 (id=29698)

Rebasing onto c874b7d136...

Current branch diff-target is up to date.
Changes applied before test
commit efa99f8e2ae500ee8d53ee330391d55b724d8c41
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Wed Aug 10 16:20:43 2022 +0200

    webpack: Use sentry plugin in production mode to upload source maps
    
    It enables to help debugging swh-web JavaScript errors in Sentry Web UI
    by demangling transpiled, minified and bundled JavaScript in order to
    view source code context obtained from stack traces in its original,
    untransformed form.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1963/ for more details.

This revision is now accepted and ready to land.Aug 11 2022, 10:01 AM