Skip to content

feat(meshcore-path): M1 passive packet path — rollup, APIs, segments annotation#378

Merged
pskillen merged 12 commits into
mainfrom
api-372/pskillen/meshcore-passive-path-m1
Jun 1, 2026
Merged

feat(meshcore-path): M1 passive packet path — rollup, APIs, segments annotation#378
pskillen merged 12 commits into
mainfrom
api-372/pskillen/meshcore-passive-path-m1

Conversation

@pskillen

@pskillen pskillen commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Summary

MeshCore passive packet path tracing M1 (#372, epic #267):

  • Persist path_hash_size and path_hash_mode on MeshCorePacketObservation at ingest
  • New meshcore_packet_path app: segment resolution + hourly hash-chain edge buckets
  • Celery rollup (previous hour), backfill command (--hours / --days, tqdm progress in CLI), 6-month eviction + beat schedules
  • Read APIs: GET /api/meshcore/path-tracing/edges/ and GET/PATCH .../segments/ (staff manual annotation)
  • OpenAPI + progress/outstanding docs

Related (not in this PR): message heard-map logical path UI — meshflow-ui#311 (follow-up to #304); geographic hop placement documented as a future milestone in packet-path-tracing-outstanding.md.

Companion PRs: meshflow-bot#122, meshflow-ui#310.

Closes #372

Testing performed

  • cd Meshflow && python -m pytest Meshflow/meshcore_packets Meshflow/meshcore_packet_path -v
  • black / isort / flake8 on changed Python

Deploy notes

  • Run migrations + python manage.py run_deploy_tasks so beat picks up new periodic tasks
  • Optional: python manage.py backfill_path_edge_buckets --days N after deploy (hourly tqdm progress)

Share resolve_backfill_hours() between the management command and Celery
task; show hourly progress in the CLI via tqdm.
Record meshflow-ui#311 for logical per-feeder paths in the heard dialog,
mark #304 complete, and document future geographic hop placement.
@pskillen pskillen merged commit f433bea into main Jun 1, 2026
2 checks passed
@pskillen pskillen deleted the api-372/pskillen/meshcore-passive-path-m1 branch June 1, 2026 10:35
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.

[MeshCore P3] M1 - Passive packet path MVP (capture + resolution table + hourly rollup + edges API)

2 participants