astarte-platform / astarte

Core Astarte Repository
https://docs.astarte-platform.org/
Apache License 2.0
240 stars 46 forks source link

TE: handle failure to connect to trigger target #947

Closed eddbbt closed 3 months ago

eddbbt commented 4 months ago

Add :connection_error exception when handling a trigger policy response, then try to re-enqueue as 503 error

resolves https://github.com/astarte-platform/astarte/issues/936

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.75%. Comparing base (20233b7) to head (daa5cd7). Report is 11 commits behind head on release-1.1.

:exclamation: Current head daa5cd7 differs from pull request most recent head 8ec27a9

Please upload reports for the commit 8ec27a9 to get more accurate results.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release-1.1 #947 +/- ## ================================================ + Coverage 62.25% 81.75% +19.50% ================================================ Files 193 70 -123 Lines 4726 1721 -3005 ================================================ - Hits 2942 1407 -1535 + Misses 1784 314 -1470 ```

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