Files
meshcore-analyzer/packet-store.js
T
Kpa-clawbot c99a1ac756 fix: keep hash on observations, enrich only where raw_hex/decoded_json needed
- Add hash field back to observation objects in packet-store.js (both
  _loadNormalized and insert paths) — it's only 16 chars, negligible
  memory vs the big fields raw_hex + decoded_json
- Fix /api/analytics/signal: look up raw_hex from transmission via
  byTxId for packet size calculation
- Fix /api/observers/:id/analytics: enrich obsPackets so payload_type
  and decoded_json are available for type breakdown and node buckets
- Endpoints /api/nodes/bulk-health, /api/nodes/network-status, and
  /api/analytics/subpaths now work because observations carry hash

All 625 tests pass (unit + integration).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-26 23:27:45 -07:00

29 KiB