Skip to content

Conversation

@hsanjuan
Copy link
Contributor

This should potentially fix the last source of racing connect-disconnects.

hsanjuan added 2 commits July 29, 2025 16:20
Probably the root cause behind the latest connect/disconnect issues.
@hsanjuan hsanjuan requested a review from gammazero July 29, 2025 14:37
@hsanjuan hsanjuan self-assigned this Jul 29, 2025
@hsanjuan hsanjuan requested a review from a team as a code owner July 29, 2025 14:37
@codecov
Copy link

codecov bot commented Jul 29, 2025

Codecov Report

❌ Patch coverage is 61.29032% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.52%. Comparing base (458afb1) to head (5dbe4c7).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
bitswap/network/router.go 0.00% 5 Missing ⚠️
bitswap/network/connecteventmanager.go 62.50% 3 Missing ⚠️
bitswap/client/internal/peermanager/peermanager.go 60.00% 2 Missing ⚠️
...wap/client/internal/peermanager/peerwantmanager.go 0.00% 1 Missing ⚠️
bitswap/network/httpnet/msg_sender.go 66.66% 1 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #986      +/-   ##
==========================================
- Coverage   61.53%   61.52%   -0.01%     
==========================================
  Files         254      254              
  Lines       31542    31567      +25     
==========================================
+ Hits        19408    19422      +14     
- Misses      10548    10558      +10     
- Partials     1586     1587       +1     
Files with missing lines Coverage Δ
bitswap/client/internal/session/session.go 90.60% <100.00%> (+0.41%) ⬆️
...tswap/client/internal/session/sessionwantsender.go 97.37% <100.00%> (-0.46%) ⬇️
bitswap/network/bsnet/ipfs_impl.go 75.36% <100.00%> (-0.81%) ⬇️
...wap/client/internal/peermanager/peerwantmanager.go 69.21% <0.00%> (-0.19%) ⬇️
bitswap/network/httpnet/msg_sender.go 62.08% <66.66%> (-0.24%) ⬇️
bitswap/client/internal/peermanager/peermanager.go 90.00% <60.00%> (-1.67%) ⬇️
bitswap/network/connecteventmanager.go 84.17% <62.50%> (-0.79%) ⬇️
bitswap/network/router.go 0.00% <0.00%> (ø)

... and 3 files with indirect coverage changes

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

Copy link
Contributor

@gammazero gammazero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple minor wording suggestions.

hsanjuan and others added 2 commits July 30, 2025 18:18
Co-authored-by: Andrew Gillis <11790789+gammazero@users.noreply.github.com>
Co-authored-by: Andrew Gillis <11790789+gammazero@users.noreply.github.com>
Copy link
Contributor

@gammazero gammazero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hsanjuan hsanjuan merged commit e1ecc9c into main Jul 31, 2025
16 checks passed
@hsanjuan hsanjuan deleted the httpnet-connect-disconnect branch July 31, 2025 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants