go-sigma / sigma

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

:sparkles: Add role field for namespace api #299

Closed tosone closed 5 months ago

codecov[bot] commented 5 months ago

Codecov Report

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

Comparison is base (be5fde3) 21.37% compared to head (2a08a06) 20.75%.

Files Patch % Lines
pkg/auth/mocks/service.go 20.58% 27 Missing :warning:
pkg/auth/namespace.go 0.00% 26 Missing :warning:
pkg/dal/dao/mocks/setting.go 0.00% 12 Missing :warning:
pkg/dal/dao/mocks/namespace_member.go 0.00% 9 Missing :warning:
pkg/dal/dao/namespace_member.go 0.00% 8 Missing :warning:
pkg/handlers/namespaces/namespaces_list.go 55.55% 3 Missing and 1 partial :warning:
pkg/auth/artifact.go 0.00% 3 Missing :warning:
pkg/auth/repository.go 0.00% 3 Missing :warning:
pkg/auth/tag.go 0.00% 3 Missing :warning:
pkg/handlers/namespaces/namespaces_get.go 57.14% 2 Missing and 1 partial :warning:
... and 15 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #299 +/- ## ========================================== - Coverage 21.37% 20.75% -0.63% ========================================== Files 287 285 -2 Lines 18790 18515 -275 ========================================== - Hits 4017 3842 -175 + Misses 14366 14297 -69 + Partials 407 376 -31 ``` | [Flag](https://app.codecov.io/gh/go-sigma/sigma/pull/299/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/299/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `20.75% <20.42%> (-0.63%)` | :arrow_down: | | [unit-test-postgresql](https://app.codecov.io/gh/go-sigma/sigma/pull/299/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `20.75% <20.42%> (-0.63%)` | :arrow_down: | | [unit-test-sqlite3](https://app.codecov.io/gh/go-sigma/sigma/pull/299/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `20.75% <20.42%> (-0.63%)` | :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.