swactor/crates/datastore/tests
Zachery Aaron Shores-Chmielewski 599678e7c9 feat: cluster test improvements; datastore pools (#45)
Introduce a gossip-converged pooled datastore protocol layered on SWIM piggybacking, backed by a reusable gossip-channel abstraction, plus a Docker-free multi-process cluster test runner.

- crates/distribution/src/gossip_channel.rs: add the GossipChannel trait (piggyback on SWIM messages) and a budget-limited DisseminationBuffer<T> that replaces the four duplicated Lambda*ceil(log2(n)) dissemination copies
- crates/datastore/src/pool: add PoolDisseminator (CRDT state for membership/capacity/content-location/ACL with join/leave/announce) and PoolCoordinator (placement-aware CRUD actor delegating to the co-located DatastoreNode)
- crates/shared-types/src/pool.rs: add shared pool protocol types (PoolId plus member/capacity/content-location/ACL entries and PoolConfig) consumed by both distribution and datastore
- crates/dashboard/src/pool_html.rs: add a live pool dashboard page (membership, capacity, content locations) and add pool_tests integration coverage
- xtask/src/sim_cluster.rs: add the sim-cluster runner that spawns N swactor nodes over iroh through a local relay server, reusing the docker cluster scenarios without Docker
- crates/distribution/src/iroh_driver.rs: add relay-URL resolution (cache, then SWIM gossip, then home relay) with a 2s connect timeout to back the relay-based connections

Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
2026-02-20 17:30:37 +00:00
..
common feat: content addressed datastore (#41) 2026-02-15 17:03:31 +00:00
acl_persistence_tests.rs feat: MVP authorization layer for swactor datastores (#43) 2026-02-16 15:39:27 +00:00
api_integration_test.rs feat: stability for deployment and distribution (#44) 2026-02-19 14:39:33 +00:00
auth_scenario_tests.rs feat: MVP authorization layer for swactor datastores (#43) 2026-02-16 15:39:27 +00:00
blob_store_tests.rs feat: content addressed datastore (#41) 2026-02-15 17:03:31 +00:00
chunking_tests.rs feat: content addressed datastore (#41) 2026-02-15 17:03:31 +00:00
dashboard_integration_test.rs feat: cluster test improvements; datastore pools (#45) 2026-02-20 17:30:37 +00:00
datastore_node_tests.rs feat: content addressed datastore (#41) 2026-02-15 17:03:31 +00:00
datastore_tests.rs feat: content addressed datastore (#41) 2026-02-15 17:03:31 +00:00
gateway_tests.rs feat: MVP authorization layer for swactor datastores (#43) 2026-02-16 15:39:27 +00:00
gc_tests.rs feat: content addressed datastore (#41) 2026-02-15 17:03:31 +00:00
http_auth_integration.rs feat: stability for deployment and distribution (#44) 2026-02-19 14:39:33 +00:00
metadata_tests.rs feat: content addressed datastore (#41) 2026-02-15 17:03:31 +00:00
multi_node_tests.rs feat: content addressed datastore (#41) 2026-02-15 17:03:31 +00:00
pool_tests.rs feat: cluster test improvements; datastore pools (#45) 2026-02-20 17:30:37 +00:00
storage_tests.rs feat: content addressed datastore (#41) 2026-02-15 17:03:31 +00:00
transfer_tests.rs feat: content addressed datastore (#41) 2026-02-15 17:03:31 +00:00