Files
PaperClipAI/server/src/__tests__
Codex 63f8a1cd48 Merge commit '56654adecdb93bbfb4ee7e66f6c8204cbf5c9b2b' into codex/photon-managed-lock-policy
* commit '56654adecdb93bbfb4ee7e66f6c8204cbf5c9b2b':
  perf(server): reuse sandbox provider schemas for five seconds on the remote-run path (#21758)
  test(scaling): wait for agent setup and gate the ramp on a first started run (#21757)
  fix(queue): keep a message a starting run's first turn took out of the queue (#21747)
  perf(release): stage the verified host release daemon instead of compiling it in publish_canary (#21555)
2026-11-15 08:28:19 -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.