Files
PaperClipAI/server/src/__tests__
DottaandCodex fb1cf16576 test: replay the original accept receipt during Dot recovery
The supported same-run branch keeps its original assignment and reuses the original accepted request ID, as the public tool and Rust journal require. A successor run keeps fresh acceptance. All existing operation, useful-work and timeout assertions remain.

Co-Authored-By: Codex <codex@users.noreply.github.com>
2026-11-14 22:37:18 -06: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.