kbase / dts

A data transfer service
https://kbase.github.io/dts/
MIT License
0 stars 0 forks source link

Task persistence and a reorganized task manager #40

Closed jeff-cohere closed 7 months ago

jeff-cohere commented 7 months ago

The main purposes of this PR is to teach the DTS how to save and restore tasks when it is stopped and restarted. This objective, combined with the goal of keeping it relatively easy to add new database/endpoint implementations (and test fixtures for both) required me to rethink how things are organized a bit. The biggest changes are:

Additionally, I've reworked the example configuration file.

Closes #34 Closes #35

codecov[bot] commented 7 months ago

Codecov Report

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

Comparison is base (63f6cdb) 61.95% compared to head (1e10656) 61.43%.

Files Patch % Lines
tasks/tasks.go 64.39% 101 Missing and 40 partials :warning:
config/config.go 20.00% 6 Missing and 2 partials :warning:
endpoints/endpoints.go 74.19% 6 Missing and 2 partials :warning:
services/prototype.go 38.46% 8 Missing :warning:
databases/databases.go 50.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #40 +/- ## ========================================== - Coverage 61.95% 61.43% -0.52% ========================================== Files 13 12 -1 Lines 1732 1893 +161 ========================================== + Hits 1073 1163 +90 - Misses 527 578 +51 - Partials 132 152 +20 ```

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