For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom CI Build ID for Reruns

How to configure custom CI build IDs for failed test reruns on GitHub Actions

The Last Failed GitHub Action uses the default CI build ID pattern to fetch the previous run information:

${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }}

When you use a custom CI Build ID for your test runs, set previous-ci-build-id to match that custom pattern.

Using custom CI build ID for reruns

For Sharded Runs (with matrix strategy)

Use the matrix index and total to ensure each shard reruns its own failed tests:

For Orchestrated Runs (Currents assigns tests across machines)

Omit the matrix parameters and use or8n: true so Currents handles test distribution:

Last updated

Was this helpful?