[2.8] Feeder node-number change: auto-update with CRC check, alias and owner notification
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
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ả
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 numberand the key matches the storedmeshtastic_public_key→ updatemeshtastic_node_idatomically, 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pskillen/meshflow-api
-
enhancement meshtastic-2.8
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
pskillen/meshflow-api#459 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug tech-debt
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
pskillen/meshflow-api#480 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 55/100
pskillen/meshflow-api#479 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
pskillen/meshflow-api#478 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 73/100
pskillen/meshflow-api#472 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pskillen/meshflow-api
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
-
needs-triage tooling
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
neilsh/stunt-reel#317 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
TandoorRecipes/recipes#4926 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
PyTomography/PyTomography#431 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
igormcsouza/tether#278 ·
Maintainer thường phản hồi trong vòng 1 ngày