Skip to content

Validate Changes

Run the smallest relevant suite first, then broaden when a change touches shared code, security boundaries, generated artifacts, or deployment behavior.

This policy is mandatory and is enforced during review:

  • Major new functionality MUST add automated tests covering that functionality, in the same change that introduces it.
  • Every bug fix MUST add a regression test that fails without the fix and passes with it.
  • Reviewers MUST confirm the required tests exist and run in CI before approving; pull requests that omit them are not merged.
CommandPurpose
pnpm run build:typescriptBuild TypeScript apps and packages.
pnpm run lintRun package linters where present.
pnpm run typecheckRun TypeScript type checks.
pnpm run testFull TypeScript, Go, and Python test suite.
pnpm run test:typescriptTypeScript app/package tests.
pnpm run test:goGo service/package and interoperability tests.
pnpm run test:pythonPython package tests.
pnpm run ciBuild, lint, typecheck, and test sequence.
AreaCommand
Runtime CLIpnpm --dir apps/runtime test
Web consolepnpm --dir apps/web test
Web backend-for-frontendpnpm --dir apps/auth test
APIpnpm --dir apps/api test
Coordinatorpnpm --dir apps/coordinator test
STSgo test ./services/sts/...
Gatewaygo test ./services/gateway/...
Auditgo test ./services/audit/...
Docspnpm --dir docs build
Lynx Capitalcd examples/lynxCapital && pytest tests/
Terminal window
scripts/testCi.sh
scripts/testCi.sh --smoke
scripts/testCi.sh --go
scripts/testCi.sh --py
scripts/testCi.sh --ts

Use broader checks when a change affects auth, crypto, config, release, infra, shared packages, SDK contracts, or interoperability schemas.

After validation, review Understand Governance for contribution scale, review ownership, and private security process.