Kollaudo
← Blog

Kollaudo 0.5.0 is out: evidence from people

Kollaudo 0.5.0 is out 🎉

Kollaudo 0.4.0 made the gate a single line in a GitHub Actions workflow. 0.5.0 lets people into the verdict: a product owner can sign off a version and a failed test can carry the bug it is known for. Nothing a person says can be sent by the pipeline it judges.

Terminal window
kollaudo signoff --component checkout --env staging --version 3f2a9c1 \
--kind uat --outcome pass --note "Checked the new payment page with the two test cards"

Until that sign-off comes the verdict is unknown and says that uat is waiting for one.

What’s new

  • Sign-offs. A policy can require a kind such as uat with signoff: [uat]. It then counts only from a token of the new signoff scope, so a green report sent by CI doesn’t replace it. The verdict and the UI show who signed off, when and their note. See ADR 0021 and the docs.
  • Known bugs. POST /v1/bugs links a failed test to a bug by its key. The verdict still fails, but each reason says which failures are known and which are new: 2 failed: 1 known (SHOP-412), 1 new. Closing the bug makes the failure new again. A known bug never lets a version through: that is what an override is for. See ADR 0022 and the docs.
  • Bugs in the UI. The verdict page lists known and new failures with a link to the bug. The test run page shows the bug next to the test, and the health matrix marks the cells where every failure is known.
  • No terminal needed. A tester can sign off or link a bug with one pasted curl command, from a page of the docs. A tool that sends web requests, such as a Jira automation rule, sends the same request.
  • kollaudo signoff, kollaudo push --dry-run to check reports before a pipeline has a token, and --json and --before for verdict list and override list.
  • Argo Rollouts recipe. The first step of a canary asks for the verdict, so a new version gets no pods before it is pass. It is tested in a kind cluster. The Argo CD notification now waits for the image tag, so the version is the tag and not the Git revision.
  • A website. kollaudo.dev has the quick start, the docs and a demo.

Thank you

  • @lui01212 added the Argo Rollouts recipe (#89) and kollaudo push --dry-run (#83). They also made the Argo CD notification wait for the images (#116) and added the end-to-end test of the pytest recipe (#93).
  • @masyarakatai added --json to verdict list (#95) and the check of CTRF metadata in dry runs (#88). They also added the link from a test run to the verdict of its version (#99) and a test that pins the counts to the schema (#98).
  • @GreedyC added --json to override list (#103) and --before to page through the verdicts (#104).

Upgrading

Update the server first and then the CLI. A policy with signoff is rejected by an older server and kollaudo signoff needs a 0.5 server. The exit codes of kollaudo verdict don’t change. The Action is kollaudo/action@v0 and runs CLI 0.5.0.

Terminal window
export KOLLAUDO_VERSION=0.5.0
curl -O https://raw.githubusercontent.com/kollaudo/kollaudo/v$KOLLAUDO_VERSION/deploy/docker-compose.yml

What’s next

  • Jira automation recipe. Two rules that send a sign-off and a bug link from Jira, published once they have run on a real Jira Cloud site.
  • kollaudo bug link and kollaudo bug close (#115), so a pipeline or a script can link a bug without writing the curl. It is a good first issue.
  • v0.6: gates for more tools. GitHub deployment protection rules, and CDEvents in and out.
  • Try it without Docker. We are looking at a one-command trial with npx, with an embedded database instead of PostgreSQL. It is an idea for now (ADR proposed).
  • Later. Build signals such as coverage and static analysis as context for a version and checks after production.

Want to help? A few good first issues are open, and feedback from your own delivery is always welcome, here or in Issues.

Changelog: https://github.com/kollaudo/kollaudo/blob/main/CHANGELOG.md Release: https://github.com/kollaudo/kollaudo/releases/tag/v0.5.0


Kollaudo when the failure is the same bug as yesterday: Blaming Spider-Man GIF

All postsJoin the discussion on GitHub