dagu-org / dagu

Developer-friendly, minimalism Cron alternative, but with much more capabilities. It aims to solve greater problems.
https://dagu.readthedocs.io
GNU General Public License v3.0
1.63k stars 143 forks source link

Additional tests #663

Closed yohamta closed 2 months ago

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 54.08805% with 73 lines in your changes missing coverage. Please review.

Project coverage is 65.08%. Comparing base (807d3f9) to head (45126d3). Report is 1 commits behind head on main.

Files Patch % Lines
internal/dag/scheduler/node.go 63.41% 11 Missing and 4 partials :warning:
internal/logger/logger.go 0.00% 14 Missing :warning:
internal/persistence/model/node.go 0.00% 8 Missing :warning:
cmd/restart.go 50.00% 7 Missing :warning:
cmd/retry.go 53.84% 6 Missing :warning:
cmd/dry.go 58.33% 5 Missing :warning:
cmd/start.go 58.33% 5 Missing :warning:
internal/logger/file.go 85.18% 2 Missing and 2 partials :warning:
cmd/start_all.go 0.00% 2 Missing :warning:
cmd/status.go 0.00% 2 Missing :warning:
... and 4 more
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/daguflow/dagu/pull/663/graphs/tree.svg?width=650&height=150&src=pr&token=CODZQP61J2&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow)](https://app.codecov.io/gh/daguflow/dagu/pull/663?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow) ```diff @@ Coverage Diff @@ ## main #663 +/- ## ========================================== - Coverage 66.37% 65.08% -1.30% ========================================== Files 53 53 Lines 4173 4273 +100 ========================================== + Hits 2770 2781 +11 - Misses 1183 1263 +80 - Partials 220 229 +9 ``` | [Files](https://app.codecov.io/gh/daguflow/dagu/pull/663?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow) | Coverage Δ | | |---|---|---| | [internal/agent/reporter.go](https://app.codecov.io/gh/daguflow/dagu/pull/663?src=pr&el=tree&filepath=internal%2Fagent%2Freporter.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow#diff-aW50ZXJuYWwvYWdlbnQvcmVwb3J0ZXIuZ28=) | `90.32% <100.00%> (ø)` | | | [internal/dag/builder.go](https://app.codecov.io/gh/daguflow/dagu/pull/663?src=pr&el=tree&filepath=internal%2Fdag%2Fbuilder.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow#diff-aW50ZXJuYWwvZGFnL2J1aWxkZXIuZ28=) | `78.52% <100.00%> (ø)` | | | [internal/dag/scheduler/graph.go](https://app.codecov.io/gh/daguflow/dagu/pull/663?src=pr&el=tree&filepath=internal%2Fdag%2Fscheduler%2Fgraph.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow#diff-aW50ZXJuYWwvZGFnL3NjaGVkdWxlci9ncmFwaC5nbw==) | `69.93% <100.00%> (ø)` | | | [internal/dag/scheduler/scheduler.go](https://app.codecov.io/gh/daguflow/dagu/pull/663?src=pr&el=tree&filepath=internal%2Fdag%2Fscheduler%2Fscheduler.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow#diff-aW50ZXJuYWwvZGFnL3NjaGVkdWxlci9zY2hlZHVsZXIuZ28=) | `88.13% <100.00%> (ø)` | | | [cmd/scheduler.go](https://app.codecov.io/gh/daguflow/dagu/pull/663?src=pr&el=tree&filepath=cmd%2Fscheduler.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow#diff-Y21kL3NjaGVkdWxlci5nbw==) | `65.71% <0.00%> (+1.82%)` | :arrow_up: | | [cmd/server.go](https://app.codecov.io/gh/daguflow/dagu/pull/663?src=pr&el=tree&filepath=cmd%2Fserver.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow#diff-Y21kL3NlcnZlci5nbw==) | `87.50% <0.00%> (+2.65%)` | :arrow_up: | | [internal/persistence/local/dag\_store.go](https://app.codecov.io/gh/daguflow/dagu/pull/663?src=pr&el=tree&filepath=internal%2Fpersistence%2Flocal%2Fdag_store.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow#diff-aW50ZXJuYWwvcGVyc2lzdGVuY2UvbG9jYWwvZGFnX3N0b3JlLmdv) | `0.00% <0.00%> (ø)` | | | [cmd/start\_all.go](https://app.codecov.io/gh/daguflow/dagu/pull/663?src=pr&el=tree&filepath=cmd%2Fstart_all.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow#diff-Y21kL3N0YXJ0X2FsbC5nbw==) | `32.50% <0.00%> (+1.54%)` | :arrow_up: | | [cmd/status.go](https://app.codecov.io/gh/daguflow/dagu/pull/663?src=pr&el=tree&filepath=cmd%2Fstatus.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow#diff-Y21kL3N0YXR1cy5nbw==) | `73.91% <0.00%> (+5.91%)` | :arrow_up: | | [cmd/stop.go](https://app.codecov.io/gh/daguflow/dagu/pull/663?src=pr&el=tree&filepath=cmd%2Fstop.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow#diff-Y21kL3N0b3AuZ28=) | `58.82% <0.00%> (+3.26%)` | :arrow_up: | | ... and [8 more](https://app.codecov.io/gh/daguflow/dagu/pull/663?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow) | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/daguflow/dagu/pull/663?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/daguflow/dagu/pull/663?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow). Last update [af2a817...45126d3](https://app.codecov.io/gh/daguflow/dagu/pull/663?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daguflow).