Reliability fixtures now manage PostgreSQL databases through owned, deadline-bounded maintenance connections. - Replace psql child-process DDL with postgres.js maintenance clients and forced cleanup. - Remove redundant pre-create drops and preserve idempotent teardown behavior. - Add a live-connection cleanup contract test and document audit measurements and policy. Files changed: .../postgres-reliability-helper-ddl-audit.md | 48 +++++++++++ docs/testing.md | 2 +- packages/engine/package.json | 5 +- .../_helpers-pg-ddl-contract.pg.test.ts | 66 +++++++++++++++ .../__tests__/reliability-interactions/_helpers.ts | 93 +++++++++++++--------- pnpm-lock.yaml | 3 + 6 files changed, 176 insertions(+), 41 deletions(-) Fusion-Task-Id: FN-9133 Fusion-Task-Lineage: 5a7f511d-abb4-4468-a97a-04331f60d245 Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
1.9 KiB
1.9 KiB