Skip to content

fix(router): fix singleflight deduplication bugs and propagate response headers#2522

Merged
jensneuse merged 9 commits into
mainfrom
jensneuse/singleflight-fix
Feb 18, 2026
Merged

fix(router): fix singleflight deduplication bugs and propagate response headers#2522
jensneuse merged 9 commits into
mainfrom
jensneuse/singleflight-fix

chore: address PR review nits

a7396cd
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 18, 2026 in 0s

61.85% (target 30.00%)

View this Pull Request on Codecov

61.85% (target 30.00%)

Details

Codecov Report

❌ Patch coverage is 62.79070% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.85%. Comparing base (b9508c1) to head (a7396cd).

Files with missing lines Patch % Lines
router/core/graphql_handler.go 37.50% 9 Missing and 1 partial ⚠️
router/core/engine_loader_hooks.go 66.66% 2 Missing and 1 partial ⚠️
router/core/header_rule_engine.go 78.57% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2522      +/-   ##
==========================================
+ Coverage   61.40%   61.85%   +0.44%     
==========================================
  Files         231      231              
  Lines       24157    24218      +61     
==========================================
+ Hits        14833    14979     +146     
+ Misses       8061     7985      -76     
+ Partials     1263     1254       -9     
Files with missing lines Coverage Δ
router/core/graph_server.go 82.65% <100.00%> (+1.59%) ⬆️
router/core/operation_processor.go 85.00% <100.00%> (+0.05%) ⬆️
router/core/router.go 71.21% <ø> (-1.00%) ⬇️
router/core/engine_loader_hooks.go 88.02% <66.66%> (+0.12%) ⬆️
router/core/header_rule_engine.go 78.49% <78.57%> (-0.60%) ⬇️
router/core/graphql_handler.go 67.61% <37.50%> (-1.62%) ⬇️

... and 14 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.