Files
PaperClipAI/server/src/__tests__
DottaandPaperclip 3d4c484816 fix(repositories): make provider disconnect optional and disambiguate hosts
Skip optional disconnect hooks when a worker does not advertise them. Forward provider hosts through the UI connection flow so hosted and enterprise identities can coexist.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-08-12 02:34:33 +00: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.