Files
PaperClipAI/server/src/__tests__
DottaandCodex 27812e76ab fix(runtime): retain inconclusive provider ownership
Classify provider identity checks as owned, foreign, empty, or inconclusive. Keep durable metadata when validation cannot complete, and retry terminal-run cleanup on later orphan-reaper passes until the group is proven owned or stale.

Co-authored-by: Codex <codex@openai.com>
2026-08-26 20:43:14 +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.