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

Abierto
#442 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
28/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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)

Lenguaje dominante
Python
Estrellas
1
Forks
0
Merge medio
1 d 10 h
PR fusionados (30 d)
8

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pskillen/meshflow-api

Todos los issues de pskillen/meshflow-api

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.