towerops/test
Graham McIntire c8a092196f add auto ICMP ping check for all devices (#68)
## Summary

- Every device now automatically gets an ICMP ping check (`source_type: "auto_discovery"`) when created via `Monitoring.ensure_default_ping_check/1`
- When a device IP changes, the ping check host config is synced automatically
- Backfill migration inserts ICMP Ping checks for all existing devices that don't have one
- Fixes checkbox alignment in the Add Service Check modal (verify SSL / follow redirects)

## Test plan

- [x] 4 new tests for `ensure_default_ping_check/1` (create, idempotent, IP update, no-op)
- [x] 3 new tests for device lifecycle (auto-create on device create, sync on IP change, no-op when IP unchanged)
- [x] 13 existing tests updated to account for auto-created ping check
- [x] Full test suite passes (`mix precommit`)
- [ ] Verify backfill migration on staging
- [ ] Create device in UI, confirm ping check appears in service checks list
- [ ] Verify checkbox alignment in Add Service Check modal

Reviewed-on: graham/towerops-web#68
2026-03-17 17:55:23 -05:00
..
integration routeros fixes and latency rounding 2026-02-09 17:30:06 -06:00
mix/tasks perf(test): optimize slow tests - 68% faster 2026-03-05 14:35:58 -06:00
snmpkit fix: remove timing assertion from MIB stubs test to avoid CI flakiness 2026-03-08 09:35:37 -05:00
support add maintenance windows REST API and GraphQL support 2026-03-11 14:33:25 -05:00
towerops add auto ICMP ping check for all devices (#68) 2026-03-17 17:55:23 -05:00
towerops_web add auto ICMP ping check for all devices (#68) 2026-03-17 17:55:23 -05:00
test_helper.exs complete overhaul of snmp engine to C nif 2026-01-30 12:27:12 -06:00
towerops_native_test.exs fix: resolve typing violation and ETS cache race in tests 2026-02-14 12:32:43 -06:00