Skip to content

Commit 0fec90a

Browse files
committed
Run buzz-acp tests in unit CI
Signed-off-by: Jordan Mecom <[email protected]>
1 parent 0a05ea3 commit 0fec90a

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎Justfile‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,9 @@ test-unit:
325325
cargo test -p buzz-auth --doc
326326
cargo nextest run -p buzz-voice --lib
327327
cargo nextest run -p buzz-cli
328+
# buzz-acp owns the relay-to-agent trust boundary. Run its tests here so
329+
# forged relay events cannot regain a path into agent routing unnoticed.
330+
cargo nextest run -p buzz-acp
328331
# buzz-db migrator/lint tests: pure SQL-parsing unit tests (no infra).
329332
# They guard the embedded-migrator invariant (the complete checked-in
330333
# additive migration set; legacy cutover/backfill remains an operator

‎scripts/run-tests.sh‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ run_unit_tests() {
9090
run_test_step "buzz-cli tests" \
9191
cargo test -p buzz-cli -- --nocapture
9292

93+
# Keep the relay-to-agent trust-boundary regressions in the fallback path
94+
# when cargo-nextest is unavailable.
95+
run_test_step "buzz-acp tests" \
96+
cargo test -p buzz-acp -- --nocapture
97+
9398
# buzz-db migrator/lint unit tests (no infra): guard the embedded-migrator
9499
# invariant (exactly the consolidated 0001; cutover/backfill stays an operator
95100
# script, not startup state) and the tenant-scoping lints. The Postgres-backed

0 commit comments

Comments
 (0)