octue / octue-sdk-python

The python SDK for @Octue services and digital twins.
https://octue.com
Other
9 stars 3 forks source link

Make event handling faster and resilient to missing events #625

Closed cortadocodes closed 5 months ago

cortadocodes commented 5 months ago

Contents (#625)

IMPORTANT: There is 1 breaking change.

Enhancements

Fixes

Refactoring

Testing


Upgrade instructions

💥 Extract SRUID for child logs from subscription in message handler This removes the `service_name` argument from `Service.wait_for_answer`. If you were using this argument, simply remove it; logs from children shown in a parent will now have the full and correct SRUID automatically.
codecov-commenter commented 5 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (04364f2) 94.90% compared to head (e9d5d92) 94.86%. Report is 5 commits behind head on main.

Files Patch % Lines
octue/cloud/pub_sub/message_handler.py 97.22% 1 Missing :warning:
octue/diagnostics.py 75.00% 1 Missing :warning:
octue/resources/child.py 83.33% 1 Missing :warning:
octue/runner.py 85.71% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #625 +/- ## ========================================== - Coverage 94.90% 94.86% -0.04% ========================================== Files 77 77 Lines 3394 3409 +15 ========================================== + Hits 3221 3234 +13 - Misses 173 175 +2 ```

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