go-sigma / sigma

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

:sparkles: Auth user in middleware #215

Closed tosone closed 10 months ago

codecov[bot] commented 10 months ago

Codecov Report

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

Comparison is base (ff6e9f3) 47.36% compared to head (da50a47) 47.03%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #215 +/- ## ========================================== - Coverage 47.36% 47.03% -0.34% ========================================== Files 120 120 Lines 6895 6887 -8 ========================================== - Hits 3266 3239 -27 - Misses 3344 3360 +16 - Partials 285 288 +3 ``` | [Flag](https://app.codecov.io/gh/go-sigma/sigma/pull/215/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/215/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `47.03% <66.66%> (-0.34%)` | :arrow_down: | | [unit-test-postgresql](https://app.codecov.io/gh/go-sigma/sigma/pull/215/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `47.03% <66.66%> (-0.34%)` | :arrow_down: | | [unit-test-sqlite3](https://app.codecov.io/gh/go-sigma/sigma/pull/215/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `47.03% <66.66%> (-0.34%)` | :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](https://app.codecov.io/gh/go-sigma/sigma/pull/215?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | Coverage Δ | | |---|---|---| | [pkg/handlers/tokens/handler.go](https://app.codecov.io/gh/go-sigma/sigma/pull/215?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2hhbmRsZXJzL3Rva2Vucy9oYW5kbGVyLmdv) | `66.66% <100.00%> (-33.34%)` | :arrow_down: | | [pkg/handlers/tokens/tokens.go](https://app.codecov.io/gh/go-sigma/sigma/pull/215?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2hhbmRsZXJzL3Rva2Vucy90b2tlbnMuZ28=) | `61.90% <62.50%> (-38.10%)` | :arrow_down: |

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