wifi-densepose/.github/workflows
ruv b68f130ce4 feat(adr-115): P4 — broker integration tests + mosquitto CI workflow
Adds three integration tests (`v2/crates/wifi-densepose-sensing-server/
tests/mqtt_integration.rs`) that prove the publisher works against a
real broker, gated behind `--features mqtt` + `RUVIEW_RUN_INTEGRATION=1`:

1. `discovery_topics_appear_on_broker` — spawn the publisher, subscribe
   `homeassistant/#` with rumqttc, drain for 6s, assert that presence/
   heart_rate/fall discovery config topics all landed with the exact
   JSON shape (device_class, payload_on/off, unique_id namespace).

2. `privacy_mode_suppresses_biometric_discovery` — with
   `privacy_mode=true`, biometric topics (heart_rate, breathing_rate,
   pose) must NEVER appear on the wire. Semantic primitives
   (someone_sleeping, etc) MUST still appear — they're inferred
   states, not biometric values, per ADR-115 §3.12.3.

3. `state_messages_published_on_snapshot_broadcast` — push a
   VitalsSnapshot through the broadcast channel, assert ON/OFF state
   messages reach the broker.

Plus `.github/workflows/mqtt-integration.yml` — spins up Mosquitto
2.0.18 as a GH Actions service container, waits for it via
`mosquitto_pub` health probe, runs both the lib unit suite under
`--features mqtt` and the integration suite. Dumps broker logs on
failure for debugging.

Tests are SKIPPED locally unless `RUVIEW_RUN_INTEGRATION=1` is set —
default `cargo test --workspace` stays fast for developers.

Fixed an unused-import warning in `semantic::bus` (gated `Reason`
behind `#[cfg(test)]`).

Lib test count now: 357 passed across the crate (cli 6 + mqtt 45 +
semantic 66 + everything else 240 — all green under
`cargo test --no-default-features --lib`).

Refs #776.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-05-23 14:14:21 -04:00
..
cd.yml security: Fix GitHub Actions shell injection vulnerability 2026-02-28 20:40:25 +01:00
ci.yml fix(ci): resolve 3 persistent CI failures + add #679 fix-marker guard 2026-05-20 22:19:28 -04:00
clone-tracking.yml feat(traffic): clone+view tracking → data/clone-data.rvf (ruvector JSONL RVF) (#656) 2026-05-19 19:17:15 -04:00
dashboard-a11y.yml chore(deps): bump actions/setup-node from 4 to 6 (#447) 2026-05-17 18:11:11 -04:00
dashboard-pages.yml chore(deps): bump actions/setup-node from 4 to 6 (#447) 2026-05-17 18:11:11 -04:00
desktop-release.yml chore(deps): bump actions/setup-node from 4 to 6 (#447) 2026-05-17 18:11:11 -04:00
firmware-ci.yml fix(firmware): bump version.txt to 0.6.4 + CI guard for tag/version match (#505) 2026-05-11 10:48:14 -04:00
firmware-qemu.yml fix(firmware): fall detection, 4MB flash, QEMU CI (#263, #265) 2026-03-15 11:49:29 -04:00
fix-regression-guard.yml chore(deps): bump actions/setup-python from 5 to 6 (#453) 2026-05-17 18:11:33 -04:00
mqtt-integration.yml feat(adr-115): P4 — broker integration tests + mosquitto CI workflow 2026-05-23 14:14:21 -04:00
nvsim-server-docker.yml chore(deps): bump docker/metadata-action from 5 to 6 (#449) 2026-05-17 18:11:18 -04:00
pointcloud-pages.yml feat(pointcloud): integrate ESP32 CSI as optional data stream from hosted viewer 2026-04-29 20:33:00 -04:00
security-scan.yml chore(deps): bump actions/setup-python from 5 to 6 (#453) 2026-05-17 18:11:33 -04:00
sensing-server-docker.yml fix(ci): build multi-arch wifi-densepose image — linux/arm64 was missing (closes #625) (#631) 2026-05-19 10:02:00 -04:00
threejs-pages.yml feat(pages): deploy three.js demos to gh-pages/three.js/ (#649) 2026-05-19 18:17:43 -04:00
update-submodules.yml ci: fix "Update vendor submodules" workflow (identity + drop --merge) 2026-05-11 12:33:40 -04:00
verify-pipeline.yml fix(verify): cross-platform deterministic proof — 6-decimal quantize + thread-pinning (closes #560) (#609) 2026-05-17 19:50:55 -04:00