paperclip/server
Priya Raman 8e77fbdacb
fix(db): close test database clients before the embedded cluster stops
An embedded-Postgres test fixture stopped its cluster while test clients
still held open connections. The postgres.js driver could schedule a
deferred write on a connection whose backend had just died, and that
write threw past a bare timer callback and crashed the process. CI saw
this as a green shard that still exited 1 with an unhandled error.

Track every client the database package hands out, keyed by host and
port. The embedded-Postgres test fixture now ends every live client for
its cluster before it stops that cluster, so no client can outlive the
server it points at.

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-08-27 18:25:23 +00:00
..
scripts fix(server): stamp built commit into service.version (#11748) 2026-08-19 21:20:40 -07:00
src fix(db): close test database clients before the embedded cluster stops 2026-08-27 18:25:23 +00:00
CHANGELOG.md fix: bound workspace Git scans (#11572) 2026-08-17 22:11:30 -05:00
package.json fix(observability): pin the Sentry browser SDK and gate the optional Sentry server peer on the exact version (#12270) 2026-08-27 07:20:03 -07:00
tsconfig.json Fix root TypeScript solution config 2026-03-09 14:09:30 -05:00
vitest.config.ts feat(runner): add hidden server PRP coordinator (#12176) 2026-08-25 14:17:14 -05:00