Skip to content

providerQueryManager: when max == 0 in FindProvidersAsync, use maxPro…

Codecov / codecov/project succeeded Nov 21, 2024 in 1s

60.34% (-0.01%) compared to 13d0b32, passed because coverage increased by 0.15% when compared to adjusted base (60.19%)

View this Pull Request on Codecov

60.34% (-0.01%) compared to 13d0b32, passed because coverage increased by 0.15% when compared to adjusted base (60.19%)

Details

Codecov Report

Attention: Patch coverage is 76.05634% with 51 lines in your changes missing coverage. Please review.

Project coverage is 60.34%. Comparing base (13d0b32) to head (19cd67f).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
...uting/providerquerymanager/providerquerymanager.go 81.70% 14 Missing and 1 partial ⚠️
blockservice/providing_blockstore.go 0.00% 14 Missing ⚠️
bitswap/client/client.go 84.44% 6 Missing and 1 partial ⚠️
bitswap/options.go 0.00% 4 Missing ⚠️
bitswap/client/internal/session/session.go 50.00% 2 Missing and 1 partial ⚠️
bitswap/network/ipfs_impl.go 62.50% 2 Missing and 1 partial ⚠️
exchange/providing/providing.go 72.72% 2 Missing and 1 partial ⚠️
bitswap/testnet/virtual.go 83.33% 1 Missing ⚠️
provider/noop.go 0.00% 1 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #641      +/-   ##
==========================================
- Coverage   60.35%   60.34%   -0.01%     
==========================================
  Files         243      245       +2     
  Lines       31057    31041      -16     
==========================================
- Hits        18744    18733      -11     
+ Misses      10643    10640       -3     
+ Partials     1670     1668       -2     
Files with missing lines Coverage Δ
bitswap/bitswap.go 69.13% <100.00%> (+2.07%) ⬆️
...tswap/client/internal/messagequeue/messagequeue.go 85.11% <ø> (+0.19%) ⬆️
bitswap/server/server.go 56.57% <100.00%> (-4.47%) ⬇️
bitswap/testinstance/testinstance.go 86.44% <100.00%> (+0.23%) ⬆️
bitswap/testnet/peernet.go 38.46% <100.00%> (-4.40%) ⬇️
blockservice/test/mock.go 100.00% <100.00%> (ø)
examples/bitswap-transfer/main.go 41.21% <100.00%> (ø)
gateway/backend_blocks.go 45.64% <ø> (+0.15%) ⬆️
provider/provider.go 25.74% <ø> (ø)
provider/reprovider.go 68.63% <100.00%> (+0.59%) ⬆️
... and 11 more

... and 4 files with indirect coverage changes


🚨 Try these New Features: