favonia / cloudflare-ddns

🌟 A small, feature-rich, and robust Cloudflare DDNS updater
Apache License 2.0
817 stars 36 forks source link

feat(pp): log redaction #785

Open favonia opened 3 months ago

favonia commented 3 months ago

Close #649.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 46.96970% with 35 lines in your changes missing coverage. Please review.

Project coverage is 89.09%. Comparing base (3b42131) to head (8cfecb6). Report is 1 commits behind head on main.

Files Patch % Lines
internal/config/env_base.go 10.52% 17 Missing :warning:
internal/config/config_print.go 28.57% 4 Missing and 6 partials :warning:
internal/pp/fmt.go 83.33% 5 Missing :warning:
internal/config/config_read.go 0.00% 2 Missing :warning:
cmd/ddns/ddns.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #785 +/- ## ========================================== - Coverage 90.48% 89.09% -1.39% ========================================== Files 52 52 Lines 2196 2228 +32 ========================================== - Hits 1987 1985 -2 - Misses 198 226 +28 - Partials 11 17 +6 ``` | [Flag](https://app.codecov.io/gh/favonia/cloudflare-ddns/pull/785/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=favonia) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/favonia/cloudflare-ddns/pull/785/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=favonia) | `89.09% <46.96%> (-1.39%)` | :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=favonia#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.