towerops/config
Graham McIntire 7607a583cf
perf(ci): optimize database setup with structure.sql (99.7% faster)
Replace sequential migration execution (4m8s for 172 migrations) with
structure.sql loading (416ms), reducing CI database setup time by 99.7%.

Changes:
- Configure Ecto to dump/load schema from priv/repo/structure.sql
- Update test alias: ecto.migrate → ecto.load
- Remove redundant database setup step from CI workflow
- Commit structure.sql to repository for version control

Benefits:
- CI database setup: 4m8s → 416ms (248s → 0.4s)
- Consistent schema snapshots across environments
- Faster local test runs

Maintenance:
- Run 'mix ecto.dump' after adding new migrations
- Structure file auto-updates with schema changes
2026-03-05 13:30:52 -06:00
..
config.exs perf(ci): optimize database setup with structure.sql (99.7% faster) 2026-03-05 13:30:52 -06:00
dev.exs refactor: replace Task.start with Oban for alert notifications 2026-03-05 09:22:14 -06:00
prod.exs fix: suppress noisy health check logs in production 2026-03-05 13:13:19 -06:00
runtime.exs refactor: replace Task.start with Oban for alert notifications 2026-03-05 09:22:14 -06:00
test.exs feat: implement LLDP topology discovery via SNMP 2026-03-05 10:53:57 -06:00