refactor(msg-bus): prefer MessageBus as Realtime

This commit is contained in:
Edouard Vanbelle
2026-09-11 00:25:25 +02:00
parent 1d280c161c
commit 7918fff47b
51 changed files with 295 additions and 227 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# ─────────────────────────────────────────────────────────────────────────────
# Realtime bus smoke test — the parts Hurl can't drive.
# Message bus smoke test — the parts Hurl can't drive.
#
# Hurl is HTTP-only and cannot open a WebSocket, so the WS half of the test
# runs through `rt-hurl-helper` (a small Rust bin gated on `test_utils`).
@@ -496,4 +496,4 @@ sub_count=$(jq -r '.subscribed | length' "$out_s8")
log "S8 OK"
log "All eight realtime-bus scenarios passed."
log "All eight message-bus scenarios passed."
+3 -3
View File
@@ -267,7 +267,7 @@ bash "$API_DIR/thumb_import_check.sh"
bash "$API_DIR/storage_cleanup_check.sh"
# ── 5. Realtime message bus — WebSocket smoke test ──────────────────────
# ── 5. Message bus — WebSocket smoke test ───────────────────────────────
# Runs BEFORE the OPAQUE helper so its user registration + login uses
# the legacy password path (opaque_substrate.hurl migrates the admin
# account, but by running first this check is unaffected by whatever
@@ -275,9 +275,9 @@ bash "$API_DIR/storage_cleanup_check.sh"
# positive delivery, topic isolation, AuthZ denial on subscribe,
# anti-enumeration parity. See `tests/api/rt_bus_check.sh` and
# `docs/plan/message-bus.md`.
log "Running realtime-bus smoke test..."
log "Running message-bus smoke test..."
BUILD_TARGET="$BUILD_TARGET" bash "$REPO_ROOT/tests/api/rt_bus_check.sh" \
|| die "realtime-bus smoke test failed"
|| die "message-bus smoke test failed"
# ── 6. OPAQUE crypto handshake — the parts Hurl can't drive ─────────────
# Full OPAQUE register + login handshake against the running server,