towerops/test/towerops_web
Graham McIntire c7df6a8569
Add CI-triggered mass agent update webhook
POST /api/v1/webhooks/agent-release triggers all connected agents
to self-update via their existing WebSocket channels. Authenticated
with a shared secret (AGENT_WEBHOOK_SECRET env var).

- Add ReleaseChecker.invalidate_cache/0 for fresh GitHub fetch
- Add Agents.list_updatable_agents/0 (enabled + seen < 10min)
- Add Agents.broadcast_mass_update/0 orchestration function
- Add WebhookAuth plug with timing-safe secret comparison
- Add AgentReleaseWebhookController with :webhook pipeline
- Configure AGENT_WEBHOOK_SECRET in dev/test/runtime configs
2026-02-10 13:40:32 -06:00
..
controllers Add CI-triggered mass agent update webhook 2026-02-10 13:40:32 -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 Add CI-triggered mass agent update webhook 2026-02-10 13:40:32 -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