debug-integration-tests
Installation
SKILL.md
Read docs/testing.md#integration-databases for isolation and contamination rules.
Run a focused file through the launcher, not bare Vitest:
pnpm test:integration path/to/file.integration.test.ts
pnpm test:integration --preflight path/to/file.integration.test.ts
Use Docker, or supply both caller-owned database URLs named in testing.md. Inspect the first failure before downstream contaminated cases. Check bundle manifest diagnostics and use their rebuild command; do not bypass stale evidence or fall back to tsx for recovery forks. Stop a broad run if unrelated cases fail shared setup. Observe lock sets rather than backend PIDs across transaction retries.
Keep enforcing mode for acceptance. For diagnosis only:
OPENSTEER_LOCK_ORDER_MODE=record pnpm test:integration path/to/file.integration.test.ts