Files
PaperClipAI/server/src/__tests__
Dotta 3db45651e9 Merge landed MCP recovery and current shutdown fixes into Dot delivery
* commit '7c0c3c4f31a135cf58d07ebaa2e75451bf14c194':
  fix(mcp): preserve Tasks sleep authority and re-enable recovery (#21603)
  fix(native): close idle warm sessions in parallel across agents at shutdown (#21597)
2026-11-14 05:10:31 -06:00
..
…

Server Tests

Server tests that need a real PostgreSQL process must use ./helpers/embedded-postgres.ts instead of constructing embedded-postgres directly.

The shared helper creates a throwaway data directory and a reserved-safe loopback port for each test database. This protects the live Paperclip control-plane Postgres from server vitest runs; see PAP-2033 for the incident that introduced this guard.