Skip to content

fix(daily): cover traffic leaking channels - #2407

Merged
gmelodie merged 4 commits into
masterfrom
fix/daily/cover-traffic-channel
May 5, 2026
Merged

fix(daily): cover traffic leaking channels#2407
gmelodie merged 4 commits into
masterfrom
fix/daily/cover-traffic-channel

Conversation

@gmelodie

@gmelodie gmelodie commented May 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Cover traffic integration tests were leaking channels. The slot exhaustion test now stops mix nodes before destNode. Previously (LIFO defer order), destNode stopped first, leaving in-flight exit→destNode channels in a partially-open state when the mix nodes' switches finally cleaned up.

References

@gmelodie gmelodie self-assigned this May 5, 2026
@gmelodie
gmelodie requested review from a team, richard-ramos and vladopajic May 5, 2026 14:11
@codecov-commenter

codecov-commenter commented May 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.97%. Comparing base (7a28909) to head (c0c7f83).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2407      +/-   ##
==========================================
- Coverage   73.98%   73.97%   -0.02%     
==========================================
  Files         168      168              
  Lines       22079    22079              
  Branches       19       19              
==========================================
- Hits        16336    16332       -4     
- Misses       5743     5747       +4     

see 5 files with indirect coverage changes

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

@gmelodie
gmelodie enabled auto-merge (squash) May 5, 2026 14:49

@vladopajic vladopajic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

FYI #2378 mix is not here anymore

@gmelodie
gmelodie merged commit 76c47c3 into master May 5, 2026
30 checks passed
@github-project-automation github-project-automation Bot moved this from new to In Progress in nim-libp2p May 5, 2026
@gmelodie
gmelodie deleted the fix/daily/cover-traffic-channel branch May 5, 2026 23:03
@github-project-automation github-project-automation Bot moved this from In Progress to done in nim-libp2p May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: done

Development

Successfully merging this pull request may close these issues.

4 participants