shlinkio / shlink-event-dispatcher

Event dispatching using PSR-14, with async event listener that are executed in background jobs system
MIT License
4 stars 1 forks source link

Allow RoadRunner jobs to optionally forward a requestId as part of the task payload #61

Closed acelaya closed 7 months ago

acelaya commented 7 months ago

Part of https://github.com/shlinkio/shlink/issues/2049

Enhance roadrunner even listeners and dispatchers so that a request id can be forwarded via roadrunner task payload.

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 88.23529% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 97.56%. Comparing base (2ffb539) to head (69d871c). Report is 2 commits behind head on main.

Files Patch % Lines
...rc/RoadRunner/RoadRunnerEventDispatcherFactory.php 85.71% 1 Missing :warning:
...rc/RoadRunner/RoadRunnerTaskConsumerToListener.php 85.71% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #61 +/- ## ============================================= - Coverage 100.00% 97.56% -2.44% - Complexity 27 29 +2 ============================================= Files 8 8 Lines 71 82 +11 ============================================= + Hits 71 80 +9 - Misses 0 2 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.