Skip to content

[FEAT] Auto-retry admin commands until verified successful #4487

Description

@Yeraze

Feature Request

Add a mechanism for auto-retrying admin commands until verified successful, instead of a single fire-and-forget send.

Problem

For remote nodes with weak/lossy links, admin commands (config changes, etc.) often need several attempts before they land. Today the user has to manually notice the command didn't take effect and resend it themselves — repeatedly, for nodes that may take many tries.

Proposed behavior

MeshMonitor sends the admin command, then verifies whether it actually applied (e.g. by re-reading the relevant config/state from the node). If verification fails, it automatically retries — up to some bound (count and/or timeout) — instead of requiring the user to manually resend.

Relationship to other work

This depends on the async admin-command rework already proposed in #4482 (decoupling the HTTP request from the ACK/passkey wait) — that's the piece that would let a retry loop run in the background without blocking the request thread.

Requested by

@wilhel1812 (Discord: Wilhelm), via #admin-command-trouble on 2026-08-01.


Authored by NodeZero 0️⃣

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions