mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-09-27 04:08:01 +00:00
Caught live on stg: every wardriving session showed airtimeMs=0, even for senders with confirmed multi-hop relay paths. The in-memory store is memory-bounded (maxMemoryMB/maxPackets) and had already evicted these transmissions despite them still being well within the SQL 24h/7d window — AirtimeForTransmissions treated "not found in memory" the same as "found, zero relays", so ok=true with a silent 0 came back indistinguishable from a genuinely never-relayed message. Now ok=false when NONE of the requested IDs are held in memory (nothing knowable → omit the field). A partial match still returns ok=true with the known subset's total, matching how every other airtime metric already tolerates eviction rather than going dark entirely once retention exceeds the in-memory window. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>