ref(tracing): Move TRANSACTION_SOURCE_* constants to Enum#3889
ref(tracing): Move TRANSACTION_SOURCE_* constants to Enum#3889antonpirker merged 13 commits intogetsentry:masterfrom
TRANSACTION_SOURCE_* constants to Enum#3889Conversation
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #3889 +/- ##
==========================================
+ Coverage 79.53% 79.55% +0.02%
==========================================
Files 140 140
Lines 15517 15521 +4
Branches 2630 2631 +1
==========================================
+ Hits 12341 12348 +7
+ Misses 2340 2338 -2
+ Partials 836 835 -1
|
f4bb234 to
ef97faa
Compare
antonpirker
left a comment
There was a problem hiding this comment.
nice! thanks for the cleanup
|
This breaks a lot of tests, because the full enum ends up in the envelope that is sent to Sentry and not the |
antonpirker
left a comment
There was a problem hiding this comment.
Please fix the tests, by making sure the .value of the enum (the string) ends up in the envelop json payload that is sent to Sentry.
Head branch was pushed to by a user without write access
b016caf to
79f20d7
Compare
|
Thank you @antonpirker! Now linter and tests passing! 💪 |
79f20d7 to
e135bbc
Compare
e135bbc to
6609d89
Compare
|
Hi Anton! Just curious why did we have to delete the |
|
I just made it so one does not have to always use the .value, so the enum is easier to use and error due to missing .value are not happening. otherwise it is a really cool change and I will merge it today |
antonpirker
left a comment
There was a problem hiding this comment.
This is now ready to be merged!
|
Thank you @antonpirker !! |
| def __str__(self): | ||
| return self.value |
There was a problem hiding this comment.
I didn't see this! Thanks for the explanation!


Fixes GH-2696