Commit 2af3e96
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | 36 | | |
39 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
0 commit comments