mirror of
https://github.com/block/buzz.git
synced 2026-10-27 12:40:30 +00:00
feat(admin): add community archive commands (#7107)
This commit is contained in:
@@ -87,10 +87,10 @@ run_unit_tests() {
|
||||
run_test_step "buzz-auth unit tests" \
|
||||
cargo test -p buzz-auth --lib -- --nocapture
|
||||
|
||||
# S4 cross-pod NIP-FI disconnect payload tests (infra-free). Mirrors
|
||||
# `just test-unit`.
|
||||
run_test_step "buzz-pubsub conn_control NIP-FI tests" \
|
||||
cargo test -p buzz-pubsub --lib conn_control::tests::nip_fi_disconnect_ -- --nocapture
|
||||
# Cross-pod disconnect payload tests (NIP-FI and community archive fence;
|
||||
# infra-free). Mirrors `just test-unit`.
|
||||
run_test_step "buzz-pubsub conn_control tests" \
|
||||
cargo test -p buzz-pubsub --lib conn_control::tests:: -- --nocapture
|
||||
|
||||
run_test_step "buzz-voice tests" \
|
||||
cargo test -p buzz-voice --lib -- --nocapture
|
||||
@@ -132,6 +132,9 @@ run_unit_tests() {
|
||||
run_test_step "buzz-admin storage snapshot tests" \
|
||||
cargo test -p buzz-admin storage_snapshot -- --nocapture
|
||||
|
||||
run_test_step "buzz-admin community archive command tests" \
|
||||
cargo test -p buzz-admin communities -- --nocapture
|
||||
|
||||
# Multi-tenant conformance gate: independent replay checker + golden
|
||||
# fixtures (buzz-conformance). Pure in-process trace replay, no infra.
|
||||
run_test_step "buzz-conformance tests" \
|
||||
@@ -241,6 +244,21 @@ run_unit_tests() {
|
||||
run_test_step "buzz-relay admission regression test" \
|
||||
cargo test -p buzz-relay --lib state::tests::neither_a_confirmed_inactive_community_nor_a_failed_lookup_admits_the_socket -- --nocapture
|
||||
|
||||
run_test_step "buzz-relay archive revalidation fence test" \
|
||||
cargo test -p buzz-relay --lib state::tests::periodic_revalidation_disconnects_inside_the_fenced_callback -- --exact --nocapture
|
||||
|
||||
run_test_step "buzz-relay bare disconnect fail-closed test" \
|
||||
cargo test -p buzz-relay --lib state::tests::bare_community_disconnect_fails_closed_when_the_fence_is_unavailable -- --exact --nocapture
|
||||
|
||||
run_test_step "buzz-relay archived close-reason test" \
|
||||
cargo test -p buzz-relay --lib connection::tests::send_loop_sends_policy_close_when_community_is_archived -- --exact --nocapture
|
||||
|
||||
run_test_step "buzz-relay community close first-writer tests" \
|
||||
cargo test -p buzz-relay --lib state::tests::community_disconnect_then_nip_fi_keeps_community_deleted_reason -- --exact --nocapture
|
||||
|
||||
run_test_step "buzz-relay community close suppresses losing denial frame test" \
|
||||
cargo test -p buzz-relay --lib state::tests::disconnect_community_wins_reason_losing_nip_fi_does_not_enqueue_frame -- --exact --nocapture
|
||||
|
||||
run_test_step "buzz-relay router tests" \
|
||||
cargo test -p buzz-relay --lib router::tests:: -- --nocapture
|
||||
|
||||
|
||||
Reference in New Issue
Block a user