mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-03-31 20:25:41 +00:00
Fix TestStoreGetAnalyticsChannelsNumericHash: corrected observation transmission_id references (3,4,5 → 4,5,6) and changed assertion to only check numeric-hash channels (seed data CHAN lacks channelHash). New tests covering gaps: - resolvePayloadTypeName unknown type fallback - Cache hit paths for Topology, HashSizes, Channels - GetChannelMessages edge cases (empty, offset, default limit) - filterPackets: empty region, since/until, hash-only fast path, observer+type combo, node filter - GetNodeHashSizeInfo: short hex, bad hex, bad JSON, missing pubKey, public_key field, flip-flop inconsistency detection - handleResolveHops: empty param, empty hop skip, nonexistent prefix - handleObservers error path (closed DB) - handleAnalyticsChannels DB fallback (no store) - GetChannelMessages dedup/repeats - transmissionsForObserver from-slice filter path - GetPerfStoreStats advertByObserver count - handleAudioLabBuckets query error path Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>