v0.1: first test report to first verdict
Released as 0.1.0 on 2026-09-30. Every point of Done when is checked by
e2e/run.shin CI.
Goal: a team can send e2e results from their CI with one command, gate a promotion on the verdict with another, and see, for each component and environment, which version was last tested and whether it passed. One instance serves several projects, and one person can follow all of theirs.
User story
Section titled “User story”As a developer, I add one step after my Playwright tests in CI. It sends the CTRF report to Kollaudo with the component, environment and version. I open Kollaudo and see a matrix of my components and environments, with the latest tested version and its results in each cell.
Before promoting to production, my pipeline runs
kollaudo verdicton staging. It stops if the tests failed, and also if they never reported.I have several projects on the same Kollaudo, and I switch between them from the UI.
In scope
Section titled “In scope”Server (apps/server)
Section titled “Server (apps/server)”docker compose upstarts Kollaudo and PostgreSQL. Migrations run on startup.- Projects and API tokens are managed with the server’s admin command
(ADR 0007):
kollaudo-server project create <name>prints oneingesttoken and onereadtoken, andkollaudo-server token create | list | revokemanages the others. - Endpoints, all under
/v1except the health check, authenticated withAuthorization: Bearer <token>. Every token belongs to one project, so the project never appears in the path:
| Method | Path | Scope | Purpose |
|---|---|---|---|
GET |
/healthz |
none | liveness |
POST |
/v1/test-runs |
ingest |
ingest a CTRF report with component, environment, version and kind |
GET |
/v1/project |
read |
the token’s project, so clients can label it |
GET |
/v1/test-runs |
read |
list runs, filtered by component, environment and version |
GET |
/v1/test-runs/{id} |
read |
one run with its test results |
GET |
/v1/health |
read |
the component × environment matrix of the project |
GET |
/v1/verdict |
read or ingest |
the verdict of a version in an environment, with its reasons |
GET |
/v1/openapi.json |
none | the OpenAPI document |
- Components, environments and versions are created on first use (ADR 0005).
- The CTRF report is validated. An invalid report is rejected with a clear error listing the problems.
- Versions accept an optional
digestof the built artifact, with the same conflict rule ascommit(ADR 0005). - The verdict is
pass,failorunknownwith its reasons (ADR 0013), under the default policy (ADR 0014).requirelists kinds that must have a run, and can only tighten the policy.
CLI (packages/cli, published as @kollaudo/cli)
Section titled “CLI (packages/cli, published as @kollaudo/cli)”export KOLLAUDO_URL=https://kollaudo.example.comexport KOLLAUDO_TOKEN=kol_... # an ingest token
kollaudo push ctrf-report.json --component frontend --env staging --version 1.2.0 \ [--kind e2e] [--commit <sha>] [--branch <name>] [--tag <tag>] [--pull-request <number>] \ [--digest <sha256:...>]
kollaudo verdict --component frontend --env staging --version 1.2.0 [--require e2e,smoke]--kinddefaults toe2e.--envis optional: without it the run is build level (ADR 0004).- Exit code
0when the report is accepted, even if tests failed. Failing the pipeline on test results is the job of the test runner, and ofkollaudo verdict. kollaudo verdictprints the verdict and its reasons, and exits with0for pass,1for fail,2for unknown and3when it couldn’t get a verdict.kollaudo --help,kollaudo push --helpandkollaudo verdict --helpdocument every option.
UI (apps/web)
Section titled “UI (apps/web)”- Health matrix: rows are components, columns are environments. Each cell shows the latest tested version, when it was tested, and passed, failed, skipped and flaky counts.
- Test run page: the tests of one run, grouped by suite, with failure messages, retries and a flaky marker.
- Projects: the user adds a project by pasting its
readtoken. The UI stores the tokens in the browser, lists every project with a summary of its health, and has a project switcher. - Uses only the public API (ADR 0010).
Project
Section titled “Project”- pnpm monorepo as in ADR 0011, stack as in ADR 0012.
- GitHub Actions: lint, typecheck and tests on every pull request.
- A container image published to
ghcr.io/kollaudo/kollaudofor each release. - A guide to send results from any test framework and any CI, and a first recipe: Playwright with GitHub Actions (sending results).
- README quick start that works end to end.
Out of scope for v0.1
Section titled “Out of scope for v0.1”- Policy files, JUnit XML, deployments (v0.2).
- The verdict in the UI. It comes with policy files, so the UI can show the rules it applied.
- Bugs, UAT sign-offs and manual check results (v0.3).
- CDEvents, gate recipes (v0.4).
- Users, roles and single sign-on. Access is by project token only.
- An HTTP API to manage projects and tokens.
- Helm chart.
Done when
Section titled “Done when”docker compose up, thenkollaudo-server project create demoreturns aningestand areadtoken.kollaudo pushwith a real Playwright CTRF report and theingesttoken returns0and a link to the run.- With the
readtoken, the health matrix shows the run in the right cell, and the run page shows its tests. kollaudo verdicton that version exits0if the run passed and1if it failed. On a version with no runs in that environment, or with--requirenaming a kind that never ran, it exits2.- Pushing an invalid report fails with a readable error and exit code
1. Pushing with areadtoken fails with403. - A second project shows up in the UI next to the first one, and its data stays separate.
- The same flow is covered by an automated end-to-end test in CI.