Skip to content

test: expand log template coverage

2452141
Select commit
Loading
Failed to load commit list.
Open

🔥 feat: Add support for contextual logs #4241

test: expand log template coverage
2452141
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 2, 2026 in 0s

91.28% (+0.04%) compared to 2b45a43

View this Pull Request on Codecov

91.28% (+0.04%) compared to 2b45a43

Details

Codecov Report

❌ Patch coverage is 90.86538% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.28%. Comparing base (2b45a43) to head (2452141).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
log/context.go 94.79% 4 Missing and 1 partial ⚠️
middleware/csrf/csrf.go 60.00% 2 Missing and 2 partials ⚠️
middleware/keyauth/keyauth.go 77.77% 2 Missing and 2 partials ⚠️
middleware/session/middleware.go 77.77% 2 Missing and 2 partials ⚠️
log/default.go 90.47% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4241      +/-   ##
==========================================
+ Coverage   91.23%   91.28%   +0.04%     
==========================================
  Files         126      127       +1     
  Lines       12341    12501     +160     
==========================================
+ Hits        11259    11411     +152     
- Misses        678      683       +5     
- Partials      404      407       +3     

☔ 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.