[2.8] Liveness thresholds for 2.8 nodes (telemetry/position off by default)

Đang mở
#455 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/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, observability

Hướng nghiên cứu

Start with the 6 h offline default in mesh_monitoring/constants.py (line 6) and the portnum filter in services/base.py (lines 79-93), which decides when last_heard advances. Work out how a NodeInfo-only 2.8 node would be marked offline under the current logic. Done means a test with a NodeInfo-only node no longer raises a false offline alert, and RECENCY.md is updated. This depends on pskillen/meshflow-api#461 (LB-2), so check that issue first.

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: TP-2 · Priority: Should · Size: M

Summary

2.8 nodes may only send NodeInfo (about every 3 h, scaled) against our 6 h offline default (mesh_monitoring/constants.py:6). last_heard only advances for accepted portnums (services/base.py:79-93).

  • Any packet from a node counts as heard.
  • Consider a learned per-node cadence.

Acceptance criteria

  • No false offline alerts for a NodeInfo-only 2.8 node in tests
  • Docs in RECENCY.md

Depends on: pskillen/meshflow-api#461 (LB-2)

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.