Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1509 +/- ##
==========================================
+ Coverage 98.21% 98.74% +0.52%
==========================================
Files 218 123 -95
Lines 10560 6761 -3799
==========================================
- Hits 10372 6676 -3696
+ Misses 188 85 -103 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@st0012 Thanks for your quick fix! But, unfortunately, this can't fix my issue.
|
|
@y-yagi I see. I now see that the Rails rake task's initialization order is like this: I'll dig into this more. |
|
@y-yagi I've updated the fix. It should work for both vanilla rake and Rails rake tasks. |
This helper temporarily disables background event dispatching when executing the block.
This makes sure all events, whether manually triggered or handled by the SDK, can be sent synchronously.
|
@st0012 Thanks! I confirmed this fixes my issue. |
|
@y-yagi sorry for the trouble and thanks for helping me verify the fix 🙂 |
|
@st0012 No problem! Thanks for your quick fix ❤️ |
|
@y-yagi fyi it's been released in version |
This fixes #1508
(I know disabling background worker by setting
background_worker_threads = 0looks hacky, but I don't want to introduce another config option for background toggling atm.)