go-sigma / sigma

OCI-Native artifact manager
https://docs.sigma.tosone.cn
Apache License 2.0
114 stars 9 forks source link

:sparkles: Reimplement lock #352

Closed tosone closed 3 months ago

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 61.53846% with 95 lines in your changes are missing coverage. Please review.

Project coverage is 25.07%. Comparing base (fd1110e) to head (a5179f1).

Files Patch % Lines
pkg/modules/locker/redis/redis.go 58.13% 22 Missing and 14 partials :warning:
pkg/dal/dao/locker.go 39.47% 18 Missing and 5 partials :warning:
pkg/dal/dao/mocks/locker.go 0.00% 12 Missing :warning:
pkg/modules/locker/database/database.go 86.41% 6 Missing and 5 partials :warning:
pkg/dal/redis/redis.go 66.66% 4 Missing and 2 partials :warning:
pkg/cronjob/builder/builder.go 0.00% 3 Missing :warning:
pkg/inits/baseimage.go 0.00% 3 Missing :warning:
pkg/modules/workq/database/consumer.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #352 +/- ## ========================================== - Coverage 25.11% 25.07% -0.04% ========================================== Files 278 277 -1 Lines 19282 19102 -180 ========================================== - Hits 4842 4790 -52 + Misses 13990 13875 -115 + Partials 450 437 -13 ``` | [Flag](https://app.codecov.io/gh/go-sigma/sigma/pull/352/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | Coverage Δ | | |---|---|---| | [unit-test-mysql](https://app.codecov.io/gh/go-sigma/sigma/pull/352/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `25.07% <61.53%> (-0.04%)` | :arrow_down: | | [unit-test-postgresql](https://app.codecov.io/gh/go-sigma/sigma/pull/352/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `25.06% <60.72%> (-0.05%)` | :arrow_down: | | [unit-test-sqlite3](https://app.codecov.io/gh/go-sigma/sigma/pull/352/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `24.97% <53.84%> (-0.14%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#carryforward-flags-in-the-pull-request-comment) to find out more.

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