Skip to content

garden ci

Inspect CI check runs (list, logs, rerun, tests)

Terminal window
garden ci
Flag Type Default Description
--target string — Garden backend to talk to (prod|dev); defaults to the checkout’s own target

List a commit’s check runs (latest attempt per check)

Terminal window
garden ci list

Aliases: checks, ls

Flag Type Default Description
--commit string — Scope to a commit hash
--json bool — Output as JSON
-o, --org string — Organization slug (defaults to the checkout’s org)
--pr int 0 Scope to a PR’s head revision
--ref string — Scope to a ref/branch’s head
-R, --repo string — Repository slug (defaults to the current checkout)
--target string — Garden backend to talk to (prod|dev); defaults to the checkout’s own target

Print a check’s log (streams live if running, replays if done)

Terminal window
garden ci logs <check>
Flag Type Default Description
--commit string — Scope to a commit hash
-o, --org string — Organization slug (defaults to the checkout’s org)
--pr int 0 Scope to a PR’s head revision
--project string — Disambiguate by project path
--ref string — Scope to a ref/branch’s head
-R, --repo string — Repository slug (defaults to the current checkout)
--target string — Garden backend to talk to (prod|dev); defaults to the checkout’s own target

Rerun a check (starts a new attempt)

Terminal window
garden ci rerun <check>
Flag Type Default Description
--commit string — Scope to a commit hash
-o, --org string — Organization slug (defaults to the checkout’s org)
--pr int 0 Scope to a PR’s head revision
--project string — Disambiguate by project path
--ref string — Scope to a ref/branch’s head
-R, --repo string — Repository slug (defaults to the current checkout)
--target string — Garden backend to talk to (prod|dev); defaults to the checkout’s own target

Show parsed test results for a PR’s checks

Terminal window
garden ci tests [check]

List parsed test results. With no check argument, aggregates across every check at the commit (one ListCITestResults call per check).

Flag Type Default Description
--commit string — Scope to a commit hash
--json bool — Output as JSON
-o, --org string — Organization slug (defaults to the checkout’s org)
--output bool — Print the captured output of failing tests
--pr int 0 Scope to a PR’s head revision
--project string — Disambiguate a named check by project path
--ref string — Scope to a ref/branch’s head
-R, --repo string — Repository slug (defaults to the current checkout)
--target string — Garden backend to talk to (prod|dev); defaults to the checkout’s own target