towerops/test
Graham McIntire a92d003aec
refactor: replace Task.async_stream with Oban jobs for discovery
Changed discover_all/1 to enqueue individual Oban jobs instead of using
Task.async_stream for better error visibility and resilience.

Benefits:
- Errors are visible in Oban dashboard with full stack traces
- Automatic retries on failure via Oban
- Jobs persist across pod restarts
- No more silent failures from Task crashes
- Better concurrency control via Oban queue configuration

Changes:
- discover_all/1 now enqueues DiscoveryWorker jobs and returns immediately
- Return type changed from %{success, failed, errors} to %{enqueued, failed, errors}
- Updated tests to match new async behavior
- Added DiscoveryWorker alias to Discovery module

All tests passing (3,625 tests, 0 failures).
2026-01-24 17:15:36 -06:00
..
integration refactor: simplify job architecture from Oban coordinators to direct workers 2026-01-24 16:36:57 -06:00
snmpkit perf: optimize slow tests - reduce timeouts and property test iterations 2026-01-24 15:22:56 -06:00
support use password for user regi 2026-01-21 09:13:08 -06:00
towerops refactor: replace Task.async_stream with Oban jobs for discovery 2026-01-24 17:15:36 -06:00
towerops_web add multiple cloud agents 2026-01-23 18:04:01 -06:00
test_helper.exs bring in snmpkit 2026-01-23 12:52:17 -06:00