towerops/test/towerops
Graham McIntire a4e08b2aca Major codebase cleanup: DRY schemas, remove dead config, consolidate modules
- Created Towerops.Schema base macro (95+ schemas updated to use it)
- Created Towerops.Snmp.Reading macro (7 reading schemas consolidated)
- Created Towerops.Gaiia.BaseSchema macro (4 Gaiia schemas consolidated)
- Created Towerops.SyncLog shared module (UISP + Preseem merge)
- Created Towerops.LogFilters (3 log filter modules merged into 1)
- Created Towerops.OnCall.ChangesetHelpers (9 on-call schemas simplified)
- Created API v1 ResourceController shared helpers (7 controllers)
- Extracted ConnectionHelpers.format_connection_result (2 LiveViews)
- Removed 5 dead config keys (scopes, mib_dirs, stripe_meter_id, etc.)
- Fixed 2 pre-existing broken tests
- All 13,219 tests pass, Credo clean (0 issues)
2026-06-16 15:29:22 -05:00
..
accounts credo fixes 2026-06-15 11:15:46 -05:00
admin credo fixes 2026-06-13 18:20:20 -05:00
agent Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
agents credo fixes 2026-06-15 11:15:46 -05:00
alerts credo fixes 2026-06-15 11:15:46 -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 test: cn_maestro/preseem client transport-error and forbidden branches 2026-05-09 09:37:10 -05:00
config_changes ci: enable PostGIS in test workflows + add tests covering ~3pp more 2026-05-05 10:35:22 -05:00
contexts Fix all mix credo --strict and compiler warnings 2026-06-13 15:45:09 -05:00
coverages credo fixes 2026-06-15 11:15:46 -05:00
devices credo fixes 2026-06-15 11:15:46 -05:00
ecto_types credo fixes 2026-06-15 11:15:46 -05:00
equipment fix(tests): replace Process.sleep with event-driven sync patterns 2026-06-02 15:16:53 -05:00
gaiia credo fixes 2026-06-15 11:15:46 -05:00
integrations fix: resolve compilation errors, test failures, and credo issues 2026-02-14 12:23:10 -06:00
job_monitoring credo fixes 2026-06-15 11:15:46 -05:00
lidar feat(lidar): nationwide USGS NED fallback (the actual code) 2026-05-06 16:21:50 -05:00
llm credo fixes 2026-06-15 11:15:46 -05:00
maintenance test: lift coverage from 85.84% → 86.28% 2026-05-08 17:44:18 -05:00
mobile_sessions credo fixes 2026-06-16 09:56:51 -05:00
monitoring Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
netbox credo fixes 2026-06-16 09:56:51 -05:00
on_call test: Airfiber detect_version + OnCall.Escalation start_escalation no-policy branches 2026-05-08 13:51:55 -05:00
organizations credo fixes 2026-06-16 09:56:51 -05:00
pagerduty test: lift coverage 79.59% → 79.85% with more focused tests 2026-05-07 19:16:13 -05:00
preseem Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
profiles Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
prom_ex test: lift coverage 84.08% → 84.99%; exclude declarative modules from coverage 2026-05-08 11:18:26 -05:00
proto Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
rate_limit Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
recommendations/rules credo fixes 2026-06-16 09:56:51 -05:00
reports tests 2026-05-07 13:14:02 -05:00
security test: in-process Redis fake instead of skipping Redis-backed tests 2026-05-10 11:32:50 -05:00
settings credo fixes 2026-06-13 18:20:20 -05:00
sites more tests and fixes 2026-02-07 11:50:18 -06:00
snmp Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
sonar ci: enable PostGIS in test workflows + add tests covering ~3pp more 2026-05-05 10:35:22 -05:00
splynx test: cover Splynx Client/Sync error branches 2026-05-09 11:49:02 -05:00
status_pages test: lift coverage 78.42% → 79.59% with focused unit + integration tests 2026-05-07 18:40:43 -05:00
topology credo fixes 2026-06-16 09:56:51 -05:00
uisp credo fixes 2026-06-16 09:56:51 -05:00
visp test: add LiveView tests following testing-liveview patterns 2026-05-07 12:55:39 -05:00
weather tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
workers Fix failing tests and clean up code 2026-06-16 14:54:34 -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 Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
activity_feed_test.exs credo fixes 2026-06-15 11:15:46 -05:00
admin_test.exs credo fixes 2026-06-15 11:15:46 -05:00
agents_test.exs Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
alerts_test.exs credo fixes 2026-06-14 08:27:57 -05:00
api_tokens_test.exs credo fixes 2026-06-15 11:15:46 -05:00
application_test.exs Reliability improvements: Task.Supervisor, discovery retries, polling visibility 2026-02-09 16:05:30 -06:00
billing_test.exs credo fixes 2026-06-13 18:20:20 -05:00
capacity_test.exs credo fixes 2026-06-15 11:15:46 -05:00
config_changes_listing_test.exs credo fixes 2026-06-15 11:15:46 -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_extra_test.exs Fix all mix credo --strict and compiler warnings 2026-06-13 15:45:09 -05:00
coverages_test.exs feat: add /coverage RF prediction feature scaffold 2026-05-06 13:44:14 -05:00
dashboard_test.exs credo fixes 2026-06-15 11:15:46 -05:00
devices_test.exs Fix failing tests and clean up code 2026-06-16 14:54: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 credo fixes 2026-06-13 18:20:20 -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 Fix all mix credo --strict and compiler warnings 2026-06-13 15:45:09 -05: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 Major codebase cleanup: DRY schemas, remove dead config, consolidate modules 2026-06-16 15:29:22 -05:00
logger_filters_test.exs Major codebase cleanup: DRY schemas, remove dead config, consolidate modules 2026-06-16 15:29:22 -05: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
mikrotik_test.exs fix(tests): replace Process.sleep with event-driven sync patterns 2026-06-02 15:16:53 -05:00
mobile_sessions_test.exs credo fixes 2026-06-13 18:20:20 -05:00
monitoring_test.exs refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
numeric_test.exs credo fixes 2026-06-13 18:20:20 -05:00
on_call_test.exs test: OnCall change_schedule + change_escalation_policy default-arity helpers 2026-05-09 10:50:07 -05:00
organizations_test.exs Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
preseem_test.exs Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
profiles_test.exs Add comprehensive test coverage for core context modules 2026-01-19 14:38:34 -06:00
prom_ex_test.exs Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
query_helpers_test.exs credo fixes 2026-06-13 14:25:19 -05:00
query_modules_test.exs test: add query module tests for SiteQuery, AgentTokenQuery, ScheduleQuery, EscalationPolicyQuery 2026-05-08 11:28:25 -05:00
rate_limit_test.exs credo fixes 2026-06-13 14:25:19 -05:00
redis_health_check_test.exs fix: reduce health-check probe pressure to stop readiness-flapping downtime 2026-06-08 16:08:31 -05: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 Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
rf_links_test.exs test: lift coverage from 85.84% → 86.28% 2026-05-08 17:44:18 -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 credo fixes 2026-06-16 09:56:51 -05:00
sites_test.exs credo fixes 2026-06-14 08:27:57 -05:00
snmp_test.exs Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
status_pages_test.exs refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
time_test.exs Fix all mix credo --strict and compiler warnings 2026-06-13 15:45:09 -05:00
topology_helpers_branches_test.exs credo fixes 2026-06-16 09:56:51 -05:00
topology_test.exs Fix failing tests and clean up code 2026-06-16 14:54:34 -05:00
trace_test.exs credo fixes 2026-06-16 09:56:51 -05:00
unused_test.exs credo fixes 2026-06-16 09:56:51 -05:00
url_validator_test.exs credo fixes 2026-06-13 18:20:20 -05:00
vault_test.exs credo fixes 2026-06-16 09:56:51 -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