Skip to content

fix: address PR review comments - API signature, log injection, and docs

5c3dddd
Select commit
Loading
Failed to load commit list.
Open

πŸ”₯ feat: log.WithContext automatically includes context fields #4106

fix: address PR review comments - API signature, log injection, and docs
5c3dddd
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 29, 2026 in 0s

91.18% (+0.11%) compared to 785d2ce

View this Pull Request on Codecov

91.18% (+0.11%) compared to 785d2ce

Details

Codecov Report

❌ Patch coverage is 84.72222% with 11 lines in your changes missing coverage. Please review.
βœ… Project coverage is 91.18%. Comparing base (785d2ce) to head (5c3dddd).
⚠️ Report is 36 commits behind head on main.

Files with missing lines Patch % Lines
middleware/session/middleware.go 69.23% 2 Missing and 2 partials ⚠️
middleware/keyauth/keyauth.go 70.00% 2 Missing and 1 partial ⚠️
log/log.go 86.66% 1 Missing and 1 partial ⚠️
middleware/csrf/csrf.go 66.66% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4106      +/-   ##
==========================================
+ Coverage   91.07%   91.18%   +0.11%     
==========================================
  Files         122      123       +1     
  Lines       11550    11901     +351     
==========================================
+ Hits        10519    10852     +333     
- Misses        651      659       +8     
- Partials      380      390      +10     

β˜” 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.