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

Đang mở
#442 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
28/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)

Ngôn ngữ chính
Python
Star
1
Fork
0
Merge trung bình
23 giờ 9 phút
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pskillen/meshflow-api

Tất cả issue của pskillen/meshflow-api

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.