Skip to content

Developer Testing ​

Prefer focused tests for the code you changed. Broaden only when changing shared behavior, runtime paths, API contracts, generated clients, or UI routing.

Python ​

bash
task test-fast
task test-api
task test-workflow
uv run pytest path/to/test_file.py -v

UI ​

bash
task test-ui
cd ui && bunx tsc --noEmit
cd ui && bun run lint
cd ui && bun run fmt:check

TypeScript Workspace ​

For changes to the client, pi extensions, or their runtime integration:

bash
task test-client-ts
task ci-pi-packages
task ci-agent-runtime

Install workspace dependencies from the repository root. See Pi Packages for setup and local pi CLI checks. Before every push, run the full task check as required by the development flow.

API Contract Changes ​

If backend route schemas or generated clients change:

bash
task generate
task test-api
task test-ui

Workflow Changes ​

For workflow engine, scheduler, deployment service, or task execution changes:

bash
task test-workflow
uv run pytest tests/qdash/workflow/engine -v

Released under the Apache 2.0 License.