vac:qa:vac:2025q4-nim-libp2p-testing
Description
Expand nim-libp2p testing coverage, documentation, and tooling with focus on new features under development.
Create test plans for AutonatV2, Quic, Mix, and Kademlia.
Improve stability by addressing flaky tests and extend coverage for Identify/Push and Connectivity protocols.
Task List
Test Plans for New Features
- fully qualified name:
vac:qa:vac:2025q4-nim-libp2p-testing:test-plans - owner: radek
- status: in progress (30%)
- start-date: 2025/10/01
- end-date: 2025/10/20
Description
Develop test plans for features currently under development:
- AutonatV2
- Quic
- Mix
- Kademlia
Deliverables
Flaky Test Fixes
- fully qualified name:
vac:qa:vac:2025q4-nim-libp2p-testing:flaky-tests - owner: radek
- status: in progress (30%)
- start-date: 2025/10/20
- end-date: 2025/10/31
Description
Identify, investigate, and fix flaky tests in nim-libp2p to improve test reliability and CI stability.
Deliverables
- test(autotls): Organise test files
- test(mix): improve flaky test
- test(transports): Generate cert for WSS
Identify/Push Protocol Testing
- fully qualified name:
vac:qa:vac:2025q4-nim-libp2p-testing:identify-push - owner: radek
- status: not started
- start-date: 2025/11/01
- end-date: 2025/11/15
Description
Implement unit and integration tests for the Identify/Push protocol,
covering peer identification, metadata exchange, push updates, and error handling.
Deliverables
- PRs with links to added tests
Connectivity Protocol Testing
- fully qualified name:
vac:qa:vac:2025q4-nim-libp2p-testing:connectivity - owner: radek
- status: not started
- start-date: 2025/11/15
- end-date: 2025/12/01
Description
Implement tests for the Connectivity protocol to validate connection management,
connection limits, peer lifecycle handling, and resilience under different network conditions.
Deliverables
- PRs with links to added tests
GossipSub Performance Testing Enhacements
- fully qualified name:
vac:qa:vac:2025q4-nim-libp2p-testing:gossipsub-performance - owner: radek
- status: done
- start-date: 2025/10/01
- end-date: 2025/10/15
Description:
Update GossipSub performance tests based on dev feedback and existing data gathered so far.
Deliverables:
- test(performance): Add QUIC scenario
- test(performance): chart generation refactor
- test(performance): Refactor runner
- test(performance): reliability workflow
QUIC Protocol Testing
- fully qualified name:
vac:qa:vac:2025q4-nim-libp2p-testing:quic - owner: radek
- status: in progress (70%)
- start-date: 2025/10/16
- end-date: 2025/11/25
Description
Improve QUIC transport test coverage for handshake enforcement (TLS, ALPN, transport parameters), stream and connection lifecycle, resilience/error paths, metrics, and interoperability.
Deliverables
- test(performance): use p95 instead of max
- test(quic): Misc tests
- test: add more parallel streams test
- Tor transport: Server with multiple connections processes data sequentially in the tests
- test(transports): add parallel stream tests
- chore: use test_all in coverage workflow
- test(transports): stream tests
- test: too many global vars workaround
- Transports: Inconsistent EOF behavior between QUIC and Mplex: first readOnce after EOF
- Transports: Inconsistent EOF behavior between QUIC and Mplex: consecutive readOnce after EOF
- fix(quic): GossipSub outbound peers
- test(quic): Add tests 1
- test: organise transports tests
- test(quic): Add Multiaddress Handling tests
- test: Refactor common transports tests
- Transports tests: Inconsistent behaviour for writes when EOF