Page MenuHomeSoftware Heritage

Convert SWHID to str before passing to sentry_sdk.set_tag
ClosedPublic

Authored by vlorentz on Sep 8 2022, 5:18 PM.

Details

Summary

Sentry uses repr() by default, which does not look good in a UI

Diff Detail

Repository
rDCIDX Metadata indexer
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D8427 (id=30387)

Rebasing onto b6385cec11...

Current branch diff-target is up to date.
Changes applied before test
commit f4e08f950baa4d7f9a524e0a4815becb01c6649c
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Sep 8 17:18:29 2022 +0200

    Convert SWHID to str before passing to sentry_sdk.set_tag
    
    Sentry uses repr() by default, which does not look good in a UI

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

This revision is now accepted and ready to land.Sep 8 2022, 5:27 PM