Skip to Content
Test Payne

Test Payne

Run the default checks from the repository root after installing the locked dependencies:

CommandRun from the repository root
pnpm lint
pnpm typecheck
pnpm test
pnpm docs:validate
pnpm docs:smoke
pnpm build

PostgreSQL integration tests require PAYNE_TEST_DATABASE_URL and are separate:

CommandRun from the repository root with an isolated test database configured
pnpm test:integration

Local-live documentation smoke requires the full Compose stack and can change the official local scenario by introducing Day 2 evidence:

CommandRun from the repository root with local-live ready
pnpm docs:smoke:local-live

This infrastructure-dependent check is never reported as passed when it was not run. It does not automatically reset volumes after a failure.

Check a release candidate

The static/public release command composes repository hygiene, credential, asset, claim-evidence, sample, documentation, link, lint, type, unit-test, and production simulation checks:

CommandRun from the repository root after installing locked dependencies
pnpm release:static

From the clean intended release commit, verify that no ignored or untracked file is required. This command needs registry access if the pnpm store is not already warm. It creates and removes only a task-specific temporary directory:

CommandRun from the clean intended release commit
PAYNE_RELEASE_CLEAN_CLONE=1 pnpm release:static

The local-live release rehearsal is destructive only to the Payne Compose project and the named Payne/DataHub local volumes listed by pnpm local:reset. Configure one supported Gemini or Ollama provider first. The command preserves containers, volumes, and safe reports after a failure so you can inspect them.

CommandRun from the repository root with .env.local-live configured
pnpm release:local-live

The rehearsal polls persisted job and gate projections with bounded timeouts. It does not open the gate page, set database state, substitute fixture adapters, or tear down a failed environment. Run pnpm local:reset before another full attempt.

Last updated on