Commit Graph

2 Commits

Author SHA1 Message Date
Marcin Rataj
9397f9649b refactor(test): use waitForSubscription helper in pubsub tests
replaces hardcoded time.Sleep(500ms) with deterministic polling
via `ipfs pubsub ls`, following the pattern established in p2p_test.go

addresses review feedback from #11110
2026-01-09 19:56:52 +01:00
Marcin Rataj
e725f6a2ab feat(pubsub): persistent seqno validation and diagnostic commands
- upgrade go-libp2p-pubsub to v0.15.0
- add persistent seqno validator using BasicSeqnoValidator
  stores max seen seqno per peer at /pubsub/seqno/<peerid>
  survives daemon restarts, addresses message cycling in large networks (#9665)
- add `ipfs pubsub reset` command to clear validator state
- add `ipfs diag datastore get/count` commands for datastore inspection
  requires daemon to be stopped, useful for debugging
- change pubsub status from Deprecated to Experimental
- add CLI tests for pubsub and diag datastore commands
- remove flaky pubsub_msg_seen_cache_test.go (replaced by CLI tests)
2025-12-15 23:06:26 +01:00