Skip to content

feat(httpnet): dedupe traffic to shared gateways - #1151

Draft
lidel wants to merge 2 commits into
mainfrom
feat/httpnet-host-dedup
Draft

lidel wants to merge 2 commits into
mainfrom
feat/httpnet-host-dedup

feat(httpnet): share endpoint state across peers

bd9deca
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 26, 2026 in 0s

64.53% (+0.34%) compared to 25b1db8

View this Pull Request on Codecov

64.53% (+0.34%) compared to 25b1db8

Details

Codecov Report

❌ Patch coverage is 89.12281% with 31 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.53%. Comparing base (25b1db8) to head (bd9deca).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
bitswap/network/httpnet/msg_sender.go 73.68% 18 Missing and 2 partials ⚠️
bitswap/network/httpnet/endpoint_tracker.go 92.07% 4 Missing and 4 partials ⚠️
bitswap/network/httpnet/httpnet.go 95.08% 2 Missing and 1 partial ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1151      +/-   ##
==========================================
+ Coverage   64.18%   64.53%   +0.34%     
==========================================
  Files         269      270       +1     
  Lines       27193    27393     +200     
==========================================
+ Hits        17455    17678     +223     
+ Misses       8024     8001      -23     
  Partials     1714     1714              
Files with missing lines Coverage Δ
bitswap/network/httpnet/cooldown.go 100.00% <100.00%> (ø)
bitswap/network/httpnet/inflight.go 100.00% <100.00%> (ø)
bitswap/network/httpnet/httpnet.go 73.46% <95.08%> (+4.62%) ⬆️
bitswap/network/httpnet/endpoint_tracker.go 92.07% <92.07%> (ø)
bitswap/network/httpnet/msg_sender.go 74.20% <73.68%> (+9.45%) ⬆️

... and 11 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.