spaxel/mothership/internal/fleet
jedarden 15c082c344 fleet: add idle role to validRoles and add disable/enable tests
- Added "idle" to validRoles map for consistency with disable/enable flow
- Added comprehensive tests for disableNode and enableNode handlers
- Tests cover: disable from tx/rx/tx_rx, already idle, node not found
- Tests cover: enable with saved role, no saved role (defaults to rx),
  already enabled, node not found
- Added round-trip test for full disable/enable cycle

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-05 14:10:52 -04:00
..
fleet_test.go test: implement acceptance scenario integration tests (AS-1 through AS-6) 2026-05-05 05:45:15 -04:00
fleethandler.go feat(onboarding): migration window, Unpaired badge, re-provision flow 2026-04-24 18:46:47 -04:00
handler.go fleet: add idle role to validRoles and add disable/enable tests 2026-05-05 14:10:52 -04:00
handler_test.go fleet: add idle role to validRoles and add disable/enable tests 2026-05-05 14:10:52 -04:00
healer.go feat(diagnostics): implement link weather diagnostics and repositioning advice 2026-03-29 11:48:38 -04:00
healer_test.go feat(signal): implement Phase 5 Reliability & Intelligence 2026-03-29 12:16:56 -04:00
manager.go ota: minor fixes to auto-update integration 2026-05-05 12:27:18 -04:00
optimiser.go feat: add new internal packages (events, automation, ble, falldetect, mqtt, notify, prediction, sleep, tracker, zones, analytics) and dashboard modules (anomaly, automations, blepanel, fleet) 2026-04-06 09:48:31 -04:00
registry.go fleet: add idle role to validRoles and add disable/enable tests 2026-05-05 14:10:52 -04:00
selfheal.go test: implement acceptance scenario integration tests (AS-1 through AS-6) 2026-05-05 05:45:15 -04:00
selfheal_test.go feat: add new internal packages (events, automation, ble, falldetect, mqtt, notify, prediction, sleep, tracker, zones, analytics) and dashboard modules (anomaly, automations, blepanel, fleet) 2026-04-06 09:48:31 -04:00
weather.go feat(diagnostics): implement link weather diagnostics and repositioning advice 2026-03-29 11:48:38 -04:00