Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bitswap/session): cleanup live wants on cancel #690

Merged
merged 4 commits into from
Oct 18, 2024

Conversation

Wondertan
Copy link
Member

Otherwise, live wants get rebroadcasted forever, even when we canceled those.

Otherwise live wants get rebroadcasted/requested forever, even when we cancelled those.
@Wondertan Wondertan requested a review from a team as a code owner October 16, 2024 20:59
Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.37%. Comparing base (c2487a2) to head (cb59df1).
Report is 5 commits behind head on main.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #690      +/-   ##
==========================================
+ Coverage   60.29%   60.37%   +0.08%     
==========================================
  Files         243      243              
  Lines       31019    31029      +10     
==========================================
+ Hits        18702    18733      +31     
+ Misses      10649    10631      -18     
+ Partials     1668     1665       -3     
Files with missing lines Coverage Δ
bitswap/client/internal/session/sessionwants.go 91.42% <100.00%> (+0.08%) ⬆️

... and 17 files with indirect coverage changes

@gammazero gammazero added the P0 Critical: Tackled by core team ASAP label Oct 17, 2024
gammazero added a commit that referenced this pull request Oct 17, 2024
Otherwise, live wants get rebroadcasted forever, even when we canceled those.

This PR exists to have a branch to test #690
CHANGELOG.md Outdated Show resolved Hide resolved
@gammazero gammazero merged commit 043c71c into ipfs:main Oct 18, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 Critical: Tackled by core team ASAP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants