Skip to content

Fix regression where Meshcore chat senders show as Meshtastic#794

Merged
l5yth merged 4 commits into
mainfrom
l5y-fix-meshcore-chat-sender-labels
May 24, 2026
Merged

Fix regression where Meshcore chat senders show as Meshtastic#794
l5yth merged 4 commits into
mainfrom
l5y-fix-meshcore-chat-sender-labels

Conversation

@l5yth

@l5yth l5yth commented May 23, 2026

Copy link
Copy Markdown
Owner

No description provided.

@codecov

codecov Bot commented May 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.67442% with 5 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
web/public/assets/js/app/main.js 16.66% 5 Missing ⚠️

📢 Thoughts on this report? Let us know!

l5yth and others added 3 commits May 23, 2026 17:54
- ingest.rb: exclude wrapper ``protocol`` key from /api/nodes batch-limit
  count so the documented 1000-node maximum still applies after the
  Python ingestor started stamping protocol at the wrapper level.
- Drop plan-file references from production and test comments per the
  repo guidelines; the why is already explained inline.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Neighbor placeholder now inherits the source node's protocol from the
  surrounding /api/neighbors entry, so the badge tracks the radio the
  peer lives on instead of collapsing to the neutral "Unknown" label
  (review item #1).
- resolve_record_protocol logs one warn_log line when an explicit
  protocol stamp is rejected as malformed, making misbehaving custom
  protocol adapters visible in the operator log instead of silently
  falling back (review item #3).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The neighbor placeholder logic in main.js lives inside an untested
closure, so codecov reported the protocol-propagation lines as
uncovered.  Extract the small placeholder builder into long-link-router
so it can be unit tested directly; the closure-internal call site stays
trivial (one factory call + one fallback call).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@l5yth l5yth merged commit 512b4f1 into main May 24, 2026
14 checks passed
@l5yth l5yth deleted the l5y-fix-meshcore-chat-sender-labels branch May 24, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant