towerops/test/towerops
Graham McIntire 5a9381f91a feat: add /coverage RF prediction feature scaffold
End-to-end CRUD scaffold for per-site, per-antenna RF coverage
prediction. Schema, context, antenna registry, Oban worker stub, and
three LiveViews are wired up; the actual ITM + LIDAR + buildings
compute pipeline lands in a follow-up.

- Migration + Coverage schema with full validation (RF params, pixel-
  budget cap, antenna_slug existence). organization_id excluded from
  cast (programmatic-only).
- Coverages context: org-scoped CRUD, validate_site_in_organization
  rejects cross-tenant site_id refs at insert/update, queue_compute
  with PubSub broadcast on per-coverage and per-org topics.
- MSI Planet .ant parser + persistent_term registry loaded at boot
  from priv/antennas/. Two synthetic .ant fixtures (omni + 90deg
  sector) bundled.
- CoverageWorker on new :coverage Oban queue (concurrency 2). Job
  args carry organization_id; worker refuses to run on org mismatch.
  Stub flips status to "failed" with "compute not yet implemented"
  so the UI flow is exercisable.
- LiveViews: index (org-wide, live status updates), form (antenna
  picker grouped by manufacturer), show (status banners, params
  panel, map placeholder). Sidebar nav link added.
- Routes /coverage, /coverage/new, /coverage/:id, /coverage/:id/edit
  under :require_authenticated_user_with_default_org.
- 41 new tests covering schema validation, .ant parsing, context
  CRUD with cross-org guards, Oban job enqueue.
2026-05-06 13:44:14 -05:00
..
accounts tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
admin more tests and fixes 2026-02-07 11:50:18 -06:00
agent tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
agents test: add coverage for query modules, sync paths, agent discovery 2026-05-05 10:45:55 -05:00
alerts ci: enable PostGIS in test workflows + add tests covering ~3pp more 2026-05-05 10:35:22 -05:00
api_tokens add parallel build 2026-01-19 14:17:05 -06:00
billing test: add on-call, incident, and PagerDuty notification test coverage 2026-03-14 15:10:27 -05:00
capacity feat: add backhaul capacity analysis foundation 2026-03-06 17:54:32 -06:00
cn_maestro tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
config_changes ci: enable PostGIS in test workflows + add tests covering ~3pp more 2026-05-05 10:35:22 -05:00
contexts help update 2026-02-04 17:56:48 -06:00
coverages feat: add /coverage RF prediction feature scaffold 2026-05-06 13:44:14 -05:00
devices test: add coverage for query modules, sync paths, agent discovery 2026-05-05 10:45:55 -05:00
ecto_types tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
equipment refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
gaiia refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
integrations fix: resolve compilation errors, test failures, and credo issues 2026-02-14 12:23:10 -06:00
job_monitoring more tests and fixes 2026-02-07 11:50:18 -06:00
lidar feat: add Texas LIDAR DEM catalog with on-demand elevation reads 2026-05-04 13:03:28 -05:00
maintenance Add GeoIP import HTTP tests 2026-03-10 16:02:49 -05:00
mobile_sessions more tests and fixes 2026-02-07 11:50:18 -06:00
monitoring ci: enable PostGIS in test workflows + add tests covering ~3pp more 2026-05-05 10:35:22 -05:00
netbox ci: enable PostGIS in test workflows + add tests covering ~3pp more 2026-05-05 10:35:22 -05:00
on_call feat(on_call): drag-drop reorder + restrictions editor + new-schedule polish 2026-04-28 14:27:38 -05:00
organizations test: cover live view event handlers, invitation query, fix flaky timeout test 2026-05-05 11:13:01 -05:00
pagerduty test: add on-call, incident, and PagerDuty notification test coverage 2026-03-14 15:10:27 -05:00
preseem refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
profiles tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
proto remove-gleam (#218) 2026-03-29 11:03:20 -05:00
rate_limit chore: rate_limit rewrite + on-call redesign plan + handoff_notifications_mode 2026-04-28 12:17:29 -05:00
reports tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
security fix: resolve test fixture issues and skip flaky/environmental tests 2026-03-15 17:48:36 -05:00
sites more tests and fixes 2026-02-07 11:50:18 -06:00
snmp test: widen timeout margins in DeferredDiscoveryTest 2026-05-05 12:46:23 -05:00
sonar ci: enable PostGIS in test workflows + add tests covering ~3pp more 2026-05-05 10:35:22 -05:00
splynx perf: optimize test suite and CI pipeline for maximum speed 2026-03-05 15:04:57 -06:00
status_pages ci: enable PostGIS in test workflows + add tests covering ~3pp more 2026-05-05 10:35:22 -05:00
topology tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
uisp test: add coverage for query modules, sync paths, agent discovery 2026-05-05 10:45:55 -05:00
visp fix: humanize raw error strings in integration sync modules 2026-03-12 13:53:28 -05:00
weather tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
workers ci: enable PostGIS in test workflows + add tests covering ~3pp more 2026-05-05 10:35:22 -05:00
accounts_defensive_coverage_test.exs add 100% test coverage for Towerops.Accounts 2026-03-11 10:37:03 -05:00
accounts_test.exs add 100% test coverage for Towerops.Accounts 2026-03-11 10:37:03 -05:00
activity_feed_test.exs fix: ensure sync logs are in different minutes for activity feed test 2026-03-10 10:15:29 -05:00
admin_test.exs fix/security-and-quality-issues (#136) 2026-03-24 08:06:29 -05:00
agents_test.exs fix/ping-monitoring-without-snmp (#171) 2026-03-25 16:01:05 -05:00
alerts_test.exs perf(tests): remove/reduce Process.sleep calls for faster tests 2026-03-06 07:57:30 -06:00
api_tokens_test.exs perf(tests): remove/reduce Process.sleep calls for faster tests 2026-03-06 07:57:30 -06:00
application_test.exs Reliability improvements: Task.Supervisor, discovery retries, polling visibility 2026-02-09 16:05:30 -06:00
billing_test.exs fix: resolve all remaining test failures 2026-03-07 12:13:17 -06:00
capacity_test.exs fix: improve bandwidth counter handling to match LibreNMS approach (#168) 2026-03-25 13:33:45 -05:00
config_changes_listing_test.exs ci: enable PostGIS in test workflows + add tests covering ~3pp more 2026-05-05 10:35:22 -05:00
config_changes_test.exs tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
coverages_test.exs feat: add /coverage RF prediction feature scaffold 2026-05-06 13:44:14 -05:00
dashboard_test.exs fix agent check cascade and at-risk subscriber double-counting (#79) 2026-03-18 20:17:39 -05:00
devices_test.exs refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
error_tracker_ignorer_test.exs fix: apply Oban Pro 1.7 follow-up cleanup + filter transient DB noise 2026-05-01 16:04:05 -05:00
gaiia_test.exs refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
geocoding_test.exs tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
geoip_test.exs more tests 2026-02-03 11:16:43 -06:00
honeybadger_filter_test.exs fix: suppress benign shutdown errors during K8s pod rollouts 2026-02-12 12:16:40 -06:00
http_test.exs Add GeoIP import HTTP tests 2026-03-10 16:02:49 -05:00
integrations_test.exs Store billing subscriber/MRR data on integrations for dashboard 2026-02-15 16:51:33 -06:00
job_monitoring_test.exs more tests and fixes 2026-02-07 11:50:18 -06:00
lidar_test.exs feat: add Texas LIDAR DEM catalog with on-demand elevation reads 2026-05-04 13:03:28 -05:00
log_filter_test.exs Fix Credo issues and improve code quality 2026-01-19 15:09:19 -06:00
logger_filters_test.exs fix: suppress benign shutdown errors during K8s pod rollouts 2026-02-12 12:16:40 -06:00
maintenance_batch_test.exs fix: resolve test fixture issues and skip flaky/environmental tests 2026-03-15 17:48:36 -05:00
maintenance_context_test.exs tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
mobile_sessions_test.exs perf: optimize test suite and CI pipeline for maximum speed 2026-03-05 15:04:57 -06:00
monitoring_test.exs refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
numeric_test.exs refactor: convert 6 Gleam modules to idiomatic Elixir with TDD (#196) 2026-03-28 09:52:07 -05:00
on_call_test.exs feat(on_call): drag-drop reorder + restrictions editor + new-schedule polish 2026-04-28 14:27:38 -05:00
organizations_test.exs refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
preseem_test.exs refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
profiles_test.exs Add comprehensive test coverage for core context modules 2026-01-19 14:38:34 -06:00
query_helpers_test.exs refactor: convert 6 Gleam modules to idiomatic Elixir with TDD (#196) 2026-03-28 09:52:07 -05:00
rate_limit_test.exs chore: rate_limit rewrite + on-call redesign plan + handoff_notifications_mode 2026-04-28 12:17:29 -05:00
redis_health_check_test.exs faster tests 2026-01-27 09:30:18 -06:00
reports_test.exs tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
result_test.exs more tests 2026-02-03 13:20:33 -06:00
rf_links_test.exs refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
search_test.exs feat: comprehensive e2e test coverage for all user-facing features 2026-03-06 16:58:06 -06:00
settings_test.exs fix: use correct struct field names for Check protobuf (#141) 2026-03-24 12:04:48 -05:00
sites_test.exs make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
snmp_test.exs refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
status_pages_test.exs refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
topology_test.exs feat: simplify device type to manual-only with 6 options (#109) 2026-03-22 11:24:53 -05:00
trace_test.exs tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
url_validator_test.exs refactor: convert 6 Gleam modules to idiomatic Elixir with TDD (#196) 2026-03-28 09:52:07 -05:00
weather_test.exs tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00