feat(meshcore): passive path v1 — observation path_hashes + message heard display (#267)#370
Merged
Merged
Conversation
Add meshcore-path progress/outstanding for epic #267, Meshtastic/MeshCore ingest data-path docs, and cross-links from traceroute and packet-ingestion hubs.
…rules Document unproven hash→pubkey mapping and v1 API behaviour (unknown hops only). Update passive-path progress and outstanding tracking.
Drop path_hashes from MeshCoreRawPacket; store per feeder observation. Use update_or_create on re-ingest so path and RF fields refresh.
… v1) Add format_path_hops and bulk_format_path_hops with status unknown only.
…th prefetch Expose sender_position, MT observer_position, MC heard observer object, path_hashes, resolved_path, and path_known on message list with prefetch.
Add MapPosition, ResolvedHop, HeardObserver, MeshCoreHeardObservation; extend TextMessage and PacketObservation for passive path UI.
Parse ``{name}: {body}`` on channel text; return mc_sender_label and
mc_sender_candidates for heard-map positioning when unambiguous.
… row Match node detail API: use NodeLatestStatus when set, else newest Position. Prefetch positions for bulk candidate lookup on message list.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Delivers the meshflow-api slice of epic #267 passive path:
path_hashesonMeshCorePacketObservationonly; dropped from deduped raw packet;update_or_createon re-ingest.GET /api/messages/text/exposessender_position, MTheard[].observer_position, MCheard[]with observer object,path_hashes,resolved_path(v1status=unknown), andpath_known=false. Prefetch + bulk hop cache.{name}: {body}prefix; returnmc_sender_label+mc_sender_candidates(ObservedNode matches by long/short name) for heard-map positioning when unambiguous.Explicitly not in this PR:
resolved_pathonGET /meshcore/packets/.Closes #369
Closes #360
Part of #267
Testing performed
python -m pytest Meshflow/meshcore_packets/ Meshflow/text_messages/ -vblack,isort,flake8on changed modules