towerops/lib/towerops/agents
Graham McIntire 2528e78ff9 refactor: extract per-schema Query modules for organization_id filters
Adds 7 new composable Query modules following the existing
DeviceQuery/AlertQuery pattern. Each exposes base/0 and for_organization/1,2
plus filters used by 2+ callers.

New modules:
- Towerops.OnCall.ScheduleQuery
- Towerops.OnCall.EscalationPolicyQuery
- Towerops.Maintenance.MaintenanceWindowQuery
- Towerops.Organizations.MembershipQuery
- Towerops.Organizations.InvitationQuery
- Towerops.Agents.AgentTokenQuery
- Towerops.Gaiia.DeviceSubscriberLinkQuery

Refactors callsites in alerts, agents, devices, gaiia, maintenance, on_call,
organizations, search, and subscription_limits to use existing or new Query
modules instead of inline 'where: x.organization_id == ^...' clauses.
2026-04-30 14:26:30 -05:00
..
agent_assignment.ex deps: upgrade oban_pro to 1.7.0 2026-04-30 10:26:18 -05:00
agent_cache.ex dialyzer: fix all unmatched_return warnings (154 → 0) 2026-04-21 10:03:55 -05:00
agent_token.ex enable agent debugging 2026-01-27 13:25:04 -06:00
agent_token_query.ex refactor: extract per-schema Query modules for organization_id filters 2026-04-30 14:26:30 -05:00
release_checker.ex tests: disable Req retries in test env to eliminate ~7s-per-test delays 2026-04-24 10:04:52 -05:00
stats.ex refactor: extract per-schema Query modules for organization_id filters 2026-04-30 14:26:30 -05:00