[2.8] Carry node state across an identity link

オープン
#441 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
22/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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)

主要言語
Python
スター
1
フォーク
0
平均マージ
23時間 9分
マージ済み PR(30日)
15

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pskillen/meshflow-api のほかの issue

pskillen/meshflow-api の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。