Skip to content

Commit 2af3e96

Browse files
authored
feat(status): reorder by data flow, sharpen reception signals (#93)
* feat(status): reorder by data flow, sharpen reception signals Status output now follows the actual data path. Adds a receiver-activity byte sample, narrows the uplink check to ADS-B ports, raises server-reception tiers to match the 5-min sync, folds MLAT privacy in, and bumps --json to v2. * fix(status): tighten uplink + activity skips, keep forward-compat warn ADS-B uplink now parses the peer column only so a local listener on :30004/:64004 can't false-positive; netstat fallback enforces ESTABLISHED. Receiver activity skips on warn (not just fail) so malformed INPUT doesn't show a misleading second 'no data' line. Unknown mlat_private values surface as their own warn instead of being silently swallowed by the MLAT-line privacy fold. * test(status): hide system ss from command -v in netstat branch tests CI runners ship /usr/bin/ss, so rm'ing the STUB_DIR/ss stub left command -v ss finding the system binary and the ss branch ran instead of the netstat fallback. Override command() in the test scope so BATS run inherits a definition that returns 1 for ss only. * fix(status): drop internal claim-version from human Website claim line The (vN) suffix is internal bookkeeping; operators have no actionable use for it and v1 just looks confusing on a freshly-registered feeder. Kept in --json (.claim.version) and the local mirror file for tooling.
1 parent 53d536f commit 2af3e96

4 files changed

Lines changed: 577 additions & 119 deletions

File tree

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,16 @@ Example:
3333
```
3434
airplanes.live feed check
3535
36-
OK Feed service running
37-
OK MLAT service running
3836
OK Receiver input connected at 127.0.0.1:30005
39-
OK Airplanes.live link connected
37+
OK Receiver activity data flowing (256b in 2s sample)
38+
OK Feed service running
39+
OK ADS-B uplink connected
4040
OK Feeder ID 11111111-2222-3333-4444-555555555555
4141
OK Claim secret present
42-
OK Website claim registered, not yet claimed (v1)
43-
OK Website feed last data seen 1m ago
42+
OK Website claim registered, not yet claimed
43+
OK Server reception currently receiving (last data seen 1m ago)
44+
OK MLAT service running (name: public)
45+
OK Diagnostics push enabled (default), last push 4m ago
4446
4547
Result: feeding looks healthy
4648
```

0 commit comments

Comments
 (0)