[2.8] Carry node state across an identity link

Aperta
#441 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
22/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

The baseline traceroute trigger is in receivers.py around lines 63-90, and that is where successor nodes must be skipped. The state carried across a link (claims, mesh_monitoring watches, DxNodeMetadata, NodeRfProfile, exposure, weather_use, m2m_opt_out, position) is not named by file, so trace it from the link code path. Start after pskillen/meshflow-api#440 (ID-2) lands. Done means no offline alert for a linked old id, no baseline traceroute or DX new-node event for a successor, and tests covering both.

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

Descrizione

enhancement meshtastic-2.8

Part of pskillen/meshflow-api#437 (Meshtastic 2.8.x support). Code: ID-3 · Priority: Should · Size: M

Summary

When a link is made (auto or confirmed), carry over: claim and pending claims, mesh_monitoring watches (retarget + close the old node's offline state), DxNodeMetadata, NodeRfProfile, exposure, weather_use, m2m_opt_out, and inherited position.

Suppress new-node behaviour for successors: baseline traceroute (receivers.py:63-90), DX NEW_DISTANT_NODE / RETURNED_DX_NODE.

Acceptance criteria

  • No false offline alert for a linked old id
  • Claim and DX suppression survive the upgrade
  • No baseline traceroute / DX new-node event for a linked successor
  • Tests

Depends on: pskillen/meshflow-api#440 (ID-2)

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.