Node: a plugin's ready after a fault ends the fault (#36)
OPOpenVibers committed 11 Oct 2026 · tag v0.2.1 · 0 files, +0−0
A plugin that reports `fault` (its robot unreachable, a Bluetooth link down) and later `ready` again (it came back) kept its fault in the Node's status. The commands flowed again, but status (and Bot's panel) kept reporting the stale fault. Sending `ready` now ends the fault. `docs/plugins.md` says so.
Found while answering the Generic LOOI driver's authors, whose driver will report a dropped Bluetooth link as `not_connected` and `ready` when it's back.
Test: `TestReadyAfterFaultClearsIt` (a fault, then ready: no fault, and a command reaches the plugin). `go test ./internal/plugins ./internal/node` passes.