kubo/test/cli/harness
Marcin Rataj 824a47ae11
Some checks are pending
CodeQL / codeql (push) Waiting to run
Docker Check / lint (push) Waiting to run
Docker Check / build (push) Waiting to run
Gateway Conformance / gateway-conformance (push) Waiting to run
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Waiting to run
Go Build / go-build (push) Waiting to run
Go Check / go-check (push) Waiting to run
Go Lint / go-lint (push) Waiting to run
Go Test / unit-tests (push) Waiting to run
Go Test / cli-tests (push) Waiting to run
Go Test / example-tests (push) Waiting to run
Interop / interop-prep (push) Waiting to run
Interop / helia-interop (push) Blocked by required conditions
Interop / ipfs-webui (push) Blocked by required conditions
Sharness / sharness-test (push) Waiting to run
Spell Check / spellcheck (push) Waiting to run
feat(pubsub): persistent validation and diagnostic commands (#11110)
* 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)

* fix(pubsub): improve reset command and add deprecation warnings

- use batched delete for efficient bulk reset
- check key existence before reporting deleted count
- sync datastore after deletions to ensure persistence
- show "no validator state found" when resetting non-existent peer
- log deprecation warnings when using --enable-pubsub-experiment
  or --enable-namesys-pubsub CLI flags

* refactor(test): add datastore helpers to test harness

---------

Co-authored-by: Andrew Gillis <11790789+gammazero@users.noreply.github.com>
2026-01-16 00:27:09 +01:00
..
buffer.go test: fix autoclient flakiness (#9769) 2023-03-29 11:56:25 -04:00
harness.go style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
http_client.go test: port gateway sharness tests to Go tests 2023-01-17 21:27:54 +01:00
ipfs.go fix: Provide according to Reprovider.Strategy (#10886) 2025-08-08 10:56:44 +02:00
log.go test: port peering test from sharness to Go 2023-03-13 10:54:53 -04:00
node.go feat(pubsub): persistent validation and diagnostic commands (#11110) 2026-01-16 00:27:09 +01:00
nodes.go fix: harness tests random panic (#10933) 2025-08-22 13:57:35 -07:00
pbinspect.go feat(config): ipfs add and Import options for controling UnixFS DAG Width (#10774) 2025-04-15 22:56:38 +02:00
peering.go fix(ci): make NewRandPort thread-safe (#10921) 2025-08-18 22:12:22 +02:00
run.go tests(cli/harness): use unused Verbose flag to pipe daemon outputs (#10601) 2024-11-27 19:35:15 +01:00