Skip to content

test(denylist): add tests for 304 handling and file watcher edge cases

e9515cb
Select commit
Loading
Failed to load commit list.
Merged

feat: add IP denylist plugin for abuse prevention #79

test(denylist): add tests for 304 handling and file watcher edge cases
e9515cb
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Dec 4, 2025 in 0s

68.06% (+3.09%) compared to a6a2269

View this Pull Request on Codecov

68.06% (+3.09%) compared to a6a2269

Details

Codecov Report

❌ Patch coverage is 73.20819% with 157 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.06%. Comparing base (a6a2269) to head (e9515cb).

Files with missing lines Patch % Lines
denylist/config.go 34.86% 63 Missing and 8 partials ⚠️
denylist/feed.go 73.55% 19 Missing and 13 partials ⚠️
denylist/file.go 75.00% 13 Missing and 9 partials ⚠️
denylist/parser.go 81.57% 9 Missing and 5 partials ⚠️
denylist/prefixset.go 72.72% 3 Missing and 3 partials ⚠️
acme/writer.go 70.58% 3 Missing and 2 partials ⚠️
denylist/manager.go 88.57% 2 Missing and 2 partials ⚠️
denylist/plugin.go 90.90% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #79      +/-   ##
==========================================
+ Coverage   64.97%   68.06%   +3.09%     
==========================================
  Files          12       21       +9     
  Lines        1062     1641     +579     
==========================================
+ Hits          690     1117     +427     
- Misses        292      403     +111     
- Partials       80      121      +41     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.