go-sigma / sigma

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

:sparkles: Reimplement cache with badger #362

Closed tosone closed 2 months ago

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 25.11%. Comparing base (6c643f6) to head (13141b8).

Files Patch % Lines
pkg/modules/cacher/badger/badger.go 36.84% 24 Missing :warning:
pkg/configs/default.go 0.00% 14 Missing and 9 partials :warning:
pkg/dal/badger/badger.go 55.00% 7 Missing and 2 partials :warning:
pkg/modules/cacher/cacher.go 33.33% 2 Missing :warning:
pkg/modules/cacher/inmemory/inmemory.go 80.00% 2 Missing :warning:
pkg/modules/locker/locker.go 33.33% 2 Missing :warning:
pkg/dal/dao/mocks/workq.go 0.00% 1 Missing :warning:
pkg/modules/cacher/redis/redis.go 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #362 +/- ## ========================================== - Coverage 25.52% 25.11% -0.42% ========================================== Files 275 269 -6 Lines 19365 18833 -532 ========================================== - Hits 4942 4729 -213 + Misses 13955 13663 -292 + Partials 468 441 -27 ``` | [Flag](https://app.codecov.io/gh/go-sigma/sigma/pull/362/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/362/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `25.08% <39.62%> (-0.44%)` | :arrow_down: | | [unit-test-postgresql](https://app.codecov.io/gh/go-sigma/sigma/pull/362/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `25.11% <39.62%> (-0.42%)` | :arrow_down: | | [unit-test-sqlite3](https://app.codecov.io/gh/go-sigma/sigma/pull/362/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `25.11% <39.62%> (-0.42%)` | :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.