towerops/lib/towerops_web
Graham McIntire f9b575816a
Fix database ownership issues in agent auth tests
- Update AgentAuth plug to use synchronous heartbeat updates in test env
- Refactor async heartbeat logic to reduce nesting (Credo)
- Remove Process.sleep from tests (no longer needed with sync updates)

This fixes 'owner exited' database errors in the test suite by avoiding
async Task spawns during tests, which caused DB connection ownership
conflicts with Ecto's sandbox mode.
2026-01-13 13:16:54 -06:00
..
components Add Agents navigation link to authenticated layout 2026-01-13 13:14:23 -06:00
controllers Streamline login flow and fix test failures 2026-01-13 13:08:24 -06:00
live add remote agent setup 2026-01-09 13:15:31 -06:00
plugs Fix database ownership issues in agent auth tests 2026-01-13 13:16:54 -06:00
endpoint.ex Fix health check logging with dynamic log level in endpoint 2026-01-06 13:57:32 -06:00
gettext.ex init 2025-12-21 11:10:43 -06:00
router.ex add remote agent setup 2026-01-09 13:15:31 -06:00
telemetry.ex format 2025-12-21 11:31:08 -06:00
user_auth.ex Streamline login flow and fix test failures 2026-01-13 13:08:24 -06:00