docs: surface SATELLITE_FILTER in /status + bump test count to 34
README: add an "Observability" paragraph noting that the active filter
appears under /status.satellites[<id>].filter — and by extension in the
MQTT retained status topic and Redis live📡<id> snapshot,
since those surfaces reserialize the same JSON. Omitted when no filter
is set.
DESIGN_SATELLITE_AND_CLUSTER: add an "Observable state" row to the
TrunkLink vs SatelliteLink comparison table listing the fields in
SatelliteLink::statusJson() including the new filter field.
tests/TESTS.md: bump trunk test count 33 -> 34 and add a row for
test_16c (satellite filter visible in /status).
This commit is contained in:
1 parent
a4f0e9522d
commit
962e1ffc10
3 files changed
+10
-2
No files matched your search
+3
-2
@@ -5,7 +5,7 @@
|
||||
The integration tests verify the trunk protocol, satellite links, twin (HA-pair) protocol, Redis-backed config store, and end-to-end audio routing by spinning up reflector meshes in Docker Compose and connecting fake peers and clients from a Python test harness.
|
||||
|
||||
`run_tests.sh` runs in **two phases**:
|
||||
1. A 3-reflector trunk mesh + a satellite-mode reflector exercising `test_trunk.py` (33 tests).
|
||||
1. A 3-reflector trunk mesh + a satellite-mode reflector exercising `test_trunk.py` (34 tests).
|
||||
2. A 4-reflector twin topology exercising `test_twin.py` (11 tests).
|
||||
|
||||
A separate harness (`run_redis_tests.sh`) runs `test_redis.py` (13 tests) against a single-reflector + Redis stack. See [Redis Integration Tests](#redis-integration-tests) below.
|
||||
@@ -22,7 +22,7 @@ bash run_tests.sh
|
||||
This will:
|
||||
1. Generate the default configs and `docker-compose.test.yml` from `topology.py`
|
||||
2. Build and start the 3-reflector mesh
|
||||
3. Run 33 automated trunk/satellite/MQTT tests (`test_trunk.py`)
|
||||
3. Run 34 automated trunk/satellite/MQTT tests (`test_trunk.py`)
|
||||
4. Enter an interactive prompt to manually test any TG number
|
||||
5. Tear down the default mesh
|
||||
6. Regenerate with `--topology twin` (4-reflector twin topology)
|
||||
@@ -173,6 +173,7 @@ Simulates a V2 SvxLink client. Performs the full TCP authentication handshake (P
|
||||
| 15 | Satellite audio to trunk peer | Satellite sends audio for a TG owned by another reflector; parent forwards via trunk |
|
||||
| 16 | Satellite disconnect cleanup | Abrupt satellite disconnect clears it from `/status` |
|
||||
| 16b | Satellite TG filter honored by parent | Satellite sends `MsgTrunkFilter` (type 122) after hello; parent forwards the matching cluster TG but drops the non-matching one |
|
||||
| 16c | Satellite filter visible in `/status` | Active filter surfaces as `satellites[<id>].filter`; key absent when unset, appears after send, clears after empty filter |
|
||||
|
||||
### Bidirectional Routing
|
||||
|
||||
|
||||
Reference in new issue
Block a user