gsxdsm
1c9e4dfccd
FN-9127: instrument PostgreSQL teardown diagnostics
Add opt-in evidence capture for loaded PostgreSQL teardown stalls without changing teardown behavior.
- Add bounded phase and hook watchdogs with capped pg_stat_activity snapshots.
- Instrument the shared PostgreSQL test harness and cover diagnostic behavior with focused tests.
- Document the diagnostic workflow, measured flake campaign, and corrected mission-store gate scope.
Files changed:
.../suite-only-flakes-observed-register.md | 12 ++
docs/testing.md | 19 ++
.../src/__test-utils__/pg-teardown-diagnostics.ts | 237 +++++++++++++++++++++
.../core/src/__test-utils__/pg-test-harness.ts | 120 ++++++++---
.../src/__tests__/pg-teardown-diagnostics.test.ts | 162 ++++++++++++++
.../__tests__/postgres/mission-store.pg.test.ts | 8 +-
6 files changed, 526 insertions(+), 32 deletions(-)
Fusion-Task-Id: FN-9127
Fusion-Task-Lineage: 2488b7c0-f12f-4560-9a99-41aaca9d1526
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-16 12:59:23 -07:00
..
2026-08-01 06:09:04 -07:00
2026-08-12 21:24:53 -07:00
2026-07-30 00:07:06 -07:00
2026-06-21 03:10:21 -07:00
2026-06-24 15:35:49 -07:00
2026-08-16 03:49:28 -07:00
2026-08-15 14:52:38 -07:00
2026-08-12 21:24:53 -07:00
2026-08-11 15:29:44 -07:00
2026-08-16 12:59:23 -07:00
2026-08-15 06:42:39 -07:00
2026-08-11 14:22:14 -07:00