[2.8] Feeder node-number change: auto-update with CRC check, alias and owner notification

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

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

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

評価

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

調査の方向性

The payload names no files or tests. Start by reading the issue's dependencies: meshflow-api#438 (one key per feeder), #439 and meshflow-bot#145, since the key-to-ManagedNode mapping they introduce decides where this change goes. Done means the atomic number update with a CRC32 check, alias retention, audit entry and owner notification, a flag path for mismatched keys, and a manual re-point action, each covered by tests. Websocket, traceroute scheduling and stats must use the new number.

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

説明

enhancement meshtastic-2.8

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

Summary

With one key per feeder (pskillen/meshflow-api#438), the key identifies the ManagedNode. When the bot reports a different node number:

  • if crc32(reported public key) == new number and the key matches the stored meshtastic_public_key → update meshtastic_node_id atomically, keep the old number as an alias, write an audit entry, notify the owner;
  • otherwise flag for review (likely a config copied to another radio) — don't silently re-point.

Also provide a manual re-point action for staff/owner.

Acceptance criteria

  • Existing observations stay attached to the same ManagedNode row
  • Websocket, traceroute scheduling and stats use the new number after update
  • Mismatched key → flagged, ingest behaviour documented
  • Tests

Depends on: pskillen/meshflow-api#438 (F-1), pskillen/meshflow-api#439 (ID-1), pskillen/meshflow-bot#145 (ID-5)

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

環境構築

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

はじめの一歩

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

pskillen/meshflow-api のほかの issue

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

似ている issue

Python の issue をもっと見る

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

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