Files
PaperClipAI/server/src/__tests__
Dotta c579148977 Merge branch 'codex/sleep-29-native-chat-progress' into codex/sleep-30-inbound-wake-notices
* codex/sleep-29-native-chat-progress:
  fix(server): load task bindings only for progress events
2026-10-25 12:50:28 -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.