From 4432ca23081734c85575669c758bb73cafcdb188 Mon Sep 17 00:00:00 2001 From: Brad Seiler Date: Fri, 9 Oct 2026 19:29:04 -0400 Subject: [PATCH] test(relay): select mesh receive regression in both CI paths Co-authored-by: Codex Signed-off-by: Brad Seiler (cherry picked from commit 3d02a44a92bb095ff303c946c9aaf585f52c0b29) Signed-off-by: Brad Seiler Signed-off-by: Local Builder <1c476cb1127ea270cb900bdc3891060140bdd1173f91498030ee9b4db01c2f20@buzz.block.builderlab.xyz> --- Justfile | 2 ++ scripts/run-tests.sh | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Justfile b/Justfile index de4c4e66ff..e3c8e26580 100644 --- a/Justfile +++ b/Justfile @@ -604,6 +604,8 @@ test-unit: + test(/^api::nip_fi::/)' # Invitation drain/cutoff boundary contracts are infra-free. cargo nextest run -p buzz-relay --lib -E 'test(/^invite_token::/) + test(/^config::invite_cutoff_tests::/)' + # Retain partially consumed mesh receives across housekeeping ticks. + cargo nextest run -p buzz-relay --lib -E 'test(=mesh_boot::tests::demo_echo_retains_pending_receive_across_housekeeping_ticks)' # boot_lifecycle spawns the real relay binary and asserts its startup # lifecycle, including that buzz_startup_phase_* reaches /metrics. Its # non-ignored tests need no Postgres or Redis; the Postgres cases are diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index be9c0cf491..8cac14540b 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -380,6 +380,9 @@ run_unit_tests() { run_test_step "buzz-relay invitation cutoff configuration" \ cargo test -p buzz-relay --lib config::invite_cutoff_tests:: -- --nocapture + run_test_step "buzz-relay mesh receive lifetime regression" \ + cargo test -p buzz-relay --lib mesh_boot::tests::demo_echo_retains_pending_receive_across_housekeeping_ticks -- --exact --nocapture + run_test_step "buzz-relay boot lifecycle tests" \ cargo test -p buzz-relay --test boot_lifecycle -- --nocapture }