Files
PaperClipAI/server/src/__tests__
DottaandPaperclip 3867107687 fix(workspaces): verify Git storage and retain source owners
Use verified checkout and shared Git metadata identities instead of inferring ownership from the metadata parent. Retain authorized storage ownership after checkout removal, fence existing readers, and avoid unrelated Git probes for conventional layouts. Anchor worktree creation to the verified source repository.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-12 16:44:17 -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.