towerops/test/towerops_web
Graham McIntire fbce65070a
Add agent restart and self-update commands
Add server-initiated restart and self-update capabilities for remote
agents. Restart broadcasts on the lifecycle PubSub topic causing the
agent to exit cleanly for Docker to restart. Self-update fetches the
latest release from GitHub, finds the matching binary for the agent's
architecture, and sends the download URL with SHA256 checksum.

- Add restart_agent/1 and update_agent/3 to Agents context
- Handle :restart_requested and :update_requested in AgentChannel
- Add superuser-only Restart and Update buttons on agent show page
- Add ReleaseChecker module for GitHub Releases API with 5-min cache
- Add arch field to AgentHeartbeat protobuf for architecture detection
- Store arch in agent metadata from heartbeat
2026-02-10 13:06:10 -06:00
..
controllers test fixes 2026-02-09 15:30:52 -06:00
helpers more tests and fixes 2026-02-07 11:50:18 -06:00
integration test: add C NIF integration tests for web context 2026-01-30 13:29:04 -06:00
live Add agent restart and self-update commands 2026-02-10 13:06:10 -06:00
plugs more tests and fixes 2026-02-07 11:50:18 -06:00
permissions_test.exs fix snmp v3 test 2026-02-06 10:21:54 -06:00
plug_exceptions_test.exs handle exceptions gracefully on api endpoints 2026-02-04 12:18:14 -06:00
user_auth_test.exs fix test warnings and failures 2026-02-05 15:24:41 -06:00