Skip to content

feat: batch records and flush them on Close - #33

Merged
samber merged 4 commits into
mainfrom
feat/batch-and-flush
Oct 13, 2026
Merged

samber merged 4 commits into
mainfrom
feat/batch-and-flush

test: close the handler in the default OnError test

5b3c3f4
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 13, 2026 in 1s

92.39% (+16.49%) compared to 1c1f4b2

View this Pull Request on Codecov

92.39% (+16.49%) compared to 1c1f4b2

Details

Codecov Report

❌ Patch coverage is 96.19048% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.39%. Comparing base (1c1f4b2) to head (5b3c3f4).

Files with missing lines Patch % Lines
dispatcher.go 96.82% 1 Missing and 1 partial ⚠️
handler.go 95.23% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #33       +/-   ##
===========================================
+ Coverage   75.90%   92.39%   +16.49%     
===========================================
  Files           2        3        +1     
  Lines          83      171       +88     
===========================================
+ Hits           63      158       +95     
+ Misses         16        7        -9     
- Partials        4        6        +2     

☔ View full report in Codecov by Harness.
📢 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.