go-sigma / sigma

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

:sparkles: Change cacher and locker implemention #195

Closed tosone closed 11 months ago

codecov[bot] commented 11 months ago

Codecov Report

Patch coverage: 39.59% and project coverage change: -0.29% :warning:

Comparison is base (6d01db9) 51.27% compared to head (fb5e11a) 50.98%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #195 +/- ## ========================================== - Coverage 51.27% 50.98% -0.29% ========================================== Files 119 120 +1 Lines 6479 6517 +38 ========================================== + Hits 3322 3323 +1 - Misses 2880 2921 +41 + Partials 277 273 -4 ``` | [Flag](https://app.codecov.io/gh/go-sigma/sigma/pull/195/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/195/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `50.98% <39.59%> (-0.29%)` | :arrow_down: | | [unit-test-postgresql](https://app.codecov.io/gh/go-sigma/sigma/pull/195/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `50.98% <39.59%> (-0.29%)` | :arrow_down: | | [unit-test-sqlite3](https://app.codecov.io/gh/go-sigma/sigma/pull/195/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `50.98% <39.59%> (-0.29%)` | :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. | [Files Changed](https://app.codecov.io/gh/go-sigma/sigma/pull/195?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | Coverage Δ | | |---|---|---| | [pkg/configs/configuration.go](https://app.codecov.io/gh/go-sigma/sigma/pull/195?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2NvbmZpZ3MvY29uZmlndXJhdGlvbi5nbw==) | `0.00% <ø> (ø)` | | | [pkg/configs/middleware.go](https://app.codecov.io/gh/go-sigma/sigma/pull/195?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2NvbmZpZ3MvbWlkZGxld2FyZS5nbw==) | `79.41% <ø> (ø)` | | | [pkg/daemon/decorator\_artifact.go](https://app.codecov.io/gh/go-sigma/sigma/pull/195?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2RhZW1vbi9kZWNvcmF0b3JfYXJ0aWZhY3QuZ28=) | `0.00% <0.00%> (ø)` | | | [pkg/dal/dao/cache.go](https://app.codecov.io/gh/go-sigma/sigma/pull/195?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2RhbC9kYW8vY2FjaGUuZ28=) | `0.00% <0.00%> (ø)` | | | [pkg/dal/dao/workq.go](https://app.codecov.io/gh/go-sigma/sigma/pull/195?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2RhbC9kYW8vd29ya3EuZ28=) | `0.00% <0.00%> (ø)` | | | [pkg/handlers/distribution/blob/blob\_head.go](https://app.codecov.io/gh/go-sigma/sigma/pull/195?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2hhbmRsZXJzL2Rpc3RyaWJ1dGlvbi9ibG9iL2Jsb2JfaGVhZC5nbw==) | `0.00% <0.00%> (ø)` | | | [pkg/handlers/distribution/manifest/manifest\_put.go](https://app.codecov.io/gh/go-sigma/sigma/pull/195?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2hhbmRsZXJzL2Rpc3RyaWJ1dGlvbi9tYW5pZmVzdC9tYW5pZmVzdF9wdXQuZ28=) | `42.35% <0.00%> (+1.59%)` | :arrow_up: | | [pkg/modules/timewheel/timewheel.go](https://app.codecov.io/gh/go-sigma/sigma/pull/195?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL21vZHVsZXMvdGltZXdoZWVsL3RpbWV3aGVlbC5nbw==) | `100.00% <ø> (ø)` | | | [pkg/dal/dao/locker.go](https://app.codecov.io/gh/go-sigma/sigma/pull/195?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2RhbC9kYW8vbG9ja2VyLmdv) | `53.33% <53.33%> (ø)` | | | [pkg/dal/dal.go](https://app.codecov.io/gh/go-sigma/sigma/pull/195?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2RhbC9kYWwuZ28=) | `65.32% <63.63%> (+0.66%)` | :arrow_up: | | ... and [1 more](https://app.codecov.io/gh/go-sigma/sigma/pull/195?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/go-sigma/sigma/pull/195/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma)

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