resonatehq / resonate

a dead simple programming model for the cloud
https://www.resonatehq.io
Apache License 2.0
360 stars 28 forks source link

Refactor errors #409

Closed dfarr closed 1 month ago

dfarr commented 1 month ago

Refactor error handling

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 48.34308% with 265 lines in your changes missing coverage. Please review.

Project coverage is 56.93%. Comparing base (37b8d9e) to head (a8e0e0a).

Files with missing lines Patch % Lines
internal/app/subsystems/api/http/promise.go 31.03% 40 Missing :warning:
internal/app/subsystems/api/http/schedule.go 25.00% 36 Missing :warning:
internal/app/subsystems/api/service/error.go 65.93% 31 Missing :warning:
internal/app/subsystems/api/http/task.go 45.65% 25 Missing :warning:
internal/app/subsystems/api/http/lock.go 44.18% 24 Missing :warning:
internal/kernel/t_api/status.go 34.78% 15 Missing :warning:
internal/app/subsystems/api/grpc/grpc.go 33.33% 12 Missing :warning:
internal/app/subsystems/api/grpc/schedule.go 42.85% 6 Missing and 2 partials :warning:
internal/app/subsystems/api/http/callback.go 50.00% 8 Missing :warning:
internal/app/subsystems/api/service/schedule.go 50.00% 7 Missing and 1 partial :warning:
... and 22 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #409 +/- ## ========================================== - Coverage 57.19% 56.93% -0.27% ========================================== Files 113 114 +1 Lines 10364 10331 -33 ========================================== - Hits 5928 5882 -46 - Misses 4005 4029 +24 + Partials 431 420 -11 ```

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