Skip to content

fix: refine SSE stream lifecycle handling

f0c3543
Select commit
Loading
Failed to load commit list.
Merged

🔥 feat: add lightweight SSE middleware #4239

fix: refine SSE stream lifecycle handling
f0c3543
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 29, 2026 in 1s

91.19% (+0.01%) compared to 16d7bc1

View this Pull Request on Codecov

91.19% (+0.01%) compared to 16d7bc1

Details

Codecov Report

❌ Patch coverage is 95.00000% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.19%. Comparing base (16d7bc1) to head (f0c3543).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
middleware/sse/sse.go 95.27% 4 Missing and 2 partials ⚠️
middleware/sse/event.go 94.18% 3 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4239      +/-   ##
==========================================
+ Coverage   91.17%   91.19%   +0.01%     
==========================================
  Files         123      126       +3     
  Lines       12084    12304     +220     
==========================================
+ Hits        11018    11221     +203     
- Misses        668      680      +12     
- Partials      398      403       +5     

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