Skip to content

Conversation

gammazero
Copy link
Contributor

It is possible for extra wants to be send due to an error causing additional wants to be left in a reused buffer. This fixes the problem by correctly truncating the buffer.

It is possible for extra wants to be send due to an error causing additional wants to be left in a reused buffer. This fixes the problem by correctly truncating the buffer.
@gammazero gammazero requested a review from a team as a code owner July 3, 2025 22:21
Copy link

codecov bot commented Jul 3, 2025

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 61.56%. Comparing base (e84eae1) to head (b13fed1).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
bitswap/message/message.go 33.33% 1 Missing and 1 partial ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #968      +/-   ##
==========================================
- Coverage   61.63%   61.56%   -0.08%     
==========================================
  Files         254      254              
  Lines       31427    31427              
==========================================
- Hits        19370    19348      -22     
- Misses      10486    10501      +15     
- Partials     1571     1578       +7     
Files with missing lines Coverage Δ
bitswap/message/message.go 80.44% <33.33%> (-0.97%) ⬇️

... and 8 files with indirect coverage changes

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

@gammazero gammazero merged commit 261c4eb into main Jul 4, 2025
21 of 22 checks passed
@gammazero gammazero deleted the fix-extra-wants branch July 4, 2025 00:10
Dreamacro pushed a commit to Dreamacro/boxo that referenced this pull request Jul 8, 2025
Dreamacro added a commit to Dreamacro/boxo that referenced this pull request Jul 8, 2025
gammazero pushed a commit that referenced this pull request Jul 8, 2025
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.

1 participant