[MeshCore P3] M5 - Realtime WS event + recent API

Aperta
#376 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python, redis
Ambito
api, backend

Direzione di ricerca

The issue names no files, so start from the parent issue #267 and the existing MeshCore packet ingest path, then find where observations are written. The change adds a meshcore.packet_path.observed event fired via transaction.on_commit, a Redis-bounded recent buffer, and a GET /api/meshcore/path-tracing/recent/ endpoint. Done means no event for rolled-back ingest, a bounded window returned, and the endpoint documented in OpenAPI. The sampling and cap policy is not specified, so confirm it with the maintainer first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Parent

Part of #267. Milestone M5.

Goal

Short-term operational view of recent MeshCore packet paths.

Scope

  • meshcore.packet_path.observed WS event emitted via transaction.on_commit, best-effort (sampled / coalesced / capped per feeder/channel).
  • Redis-backed bounded recent buffer + GET /api/meshcore/path-tracing/recent/ for reconnect hydration.

Acceptance criteria

  • No event for rolled-back ingest; no subscriber assumes every observation emits an event.
  • Recent endpoint returns a bounded window; documented in OpenAPI.

Out of scope

  • UI (M7).
Lingua principale
Python
Stelle
1
Fork
0
Merge medio
1g 20h
PR unite (30g)
5

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pskillen/meshflow-api

Tutte le issue di pskillen/meshflow-api

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.