Recipes

Post a receipt to a pull request

Note
This page is generated from a mock CLI, and its numbers are placeholders.

Verified against vakna 0.0.0-mock on

Write the receipt to a file with vakna receipt <task>, then post the file with the GitHub CLI.

How do I get the receipt as text?

sh
vakna receipt prove-flaky-retry
prints receipt · task prove-flaky-retry tsk_eu1a_0k1m2n3p mocked ──────────────────────────────────────────────────────────────────────────────── boxes 50 took 2m 11s started 1 cold boot · forked ×49 from snapshot 0.34s each passed 42 of 50 errors 2 signatures assertion in retry_test.go:88 ×6 timeout after 30s ×2 wall clock 1h 18m cost $0.46 ──────────────────────────────────────────────────────────────────────────────── without the snapshot: +6m 37s of setup (8.45s per box, measured)

How do I post it?

sh
vakna receipt prove-flaky-retry > receipt.txtgh pr comment 42 --body-file receipt.txt

The receipt is plain text at 80 columns, so it reads the same in a comment's code block as in a terminal.

View as Markdown