Files
PaperClipAI/server/src/__tests__
DottaandPaperclip 0dae72f8b9 Merge membership recovery race fix into sleep-29-native-chat-progress
Co-Authored-By: Paperclip <noreply@paperclip.ing>

* codex/sleep-28-chat-run-milestones:
  Lock membership state before deciding milestone recovery wake
2026-10-27 10:57:38 -05: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.