a0b5a55daf
Tests were importing the production engine and dropping all tables on teardown, corrupting topology.db in the Docker volume. Set DATABASE_URL to sqlite:///:memory: before any import in the test file, and use StaticPool in database.py when running against :memory: so all connections share the same in-memory database. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>