Files
sales-trainer/docs/test-evidence/2026-08-15-postgresql-runtime.md

1.6 KiB

PostgreSQL Runtime Test Evidence — 2026-08-15

Gate classification

Check Status Evidence
Local PostgreSQL service passed pg_isready -h 127.0.0.1 -p 5432 accepted connections
Alembic upgrade on PostgreSQL passed Temporary database, migrations 0001 and 0002
Tenant/schema runtime invariants passed 7-table runtime probe; cross-tenant and uniqueness cases exercised
ORM/migration parity passed Separate temporary model and migration PostgreSQL databases matched
Offline PostgreSQL DDL passed Required tables, partial predicate, audit check, and COMMIT present
Alembic downgrade to base passed 0 application tables remained in temporary migration database
Temporary database cleanup passed Cleanup trap dropped both temporary databases
Docker image/runtime smoke 🚧 blocked Docker unavailable on this Mac
Redis persistence/audit gate 🚧 blocked redis-cli unavailable and production persistence not exercised
JSON importer data rollback rehearsal 🚧 pending Schema rollback is not importer/data rollback
Runtime repository cutover 🚧 pending JSON stores remain authoritative
Production authenticated smoke/deploy 🚧 blocked Requires explicit operator approval and production access

Important boundary

These are local temporary-database results. They prove the current PostgreSQL schema and migration path, not production readiness, target-database parity, importer safety against real data, Redis persistence, deployment health, or authorization of a cutover.