chore(compose): add db-test service for pytest isolation #23
Reference in New Issue
Block a user
Delete Branch "chore/test-db-service"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a separate Postgres on port 5433 (db-test service) with its own volume + credentials so the
tests/conftest.pyautousereset_stateTRUNCATE fixture can never touch the live orchestrator DB at port 5432.Companion to kanban task
t_82790f84(conftest patch). The patch will set its DSN atdb-test:5432(in-container) /127.0.0.1:5433(host) and verify with a freshpytestrun that productionwork_itemssurvives.