Skip to content

docs: add cached CI pipelines guide and document finalize/skip commands#225

Merged
gregberge merged 1 commit into
mainfrom
docs/cached-pipelines-finalize
Jul 10, 2026
Merged

docs: add cached CI pipelines guide and document finalize/skip commands#225
gregberge merged 1 commit into
mainfrom
docs/cached-pipelines-finalize

Conversation

@gregberge

Copy link
Copy Markdown
Member

Description

Use-case-driven documentation for parallel finalize mode, motivated by setting up Argos in a Turborepo monorepo where the cache decides which test suites run.

  • New guide: Cached CI pipelines (Turborepo, Nx) — the full recipe: aggregate packages into one parallel build (finalize mode), mark PR builds as subset, force complete baseline-eligible builds on main with a cache-busting env key, and keep a required check green with argos finalize --skip-if-empty. Includes a complete GitHub Actions example, the Turborepo strict-env-mode passthrough gotcha, and an FAQ.
  • Rewrote Parallel testing (sharding) around choosing between the two modes: count mode (fixed, guaranteed uploads) vs finalize mode (dynamic shard counts, conditional uploads, aggregated suites), with a warning about count-mode builds hanging when uploads are skipped, and a troubleshooting section. Also fixes grammar and the dangling env: block in the finalize example.
  • CLI reference: added finalize and skip command sections — finalize was previously only visible inside a YAML example, and skip only in the skipping-a-build guide.
  • Cross-links: subset builds, skipping a build, and monorepos setup now point to the new guide.

Further comments

--skip-if-empty ships in argos-ci/argos-javascript#341 — this PR should be published after that release.

The turbo env-precedence claim in the guide (a hashed env declaration invalidates the cache even when a passthrough wildcard also matches the variable) was verified experimentally against turbo 2.9.18.

🤖 Generated with Claude Code

- New how-to guide: Cached CI pipelines (Turborepo, Nx) — aggregating
  suites into one parallel build, subset builds on PRs, forcing complete
  baseline builds on main, and finalize --skip-if-empty for required
  checks.
- Rewrite the parallel testing (sharding) page around choosing between
  count mode and finalize mode, with the failure modes of each.
- Document the finalize and skip commands in the CLI reference (finalize
  was previously only mentioned in a YAML example).
- Cross-link subset builds, skipping a build, and monorepos setup to the
  new guide.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gregberge gregberge merged commit 17257eb into main Jul 10, 2026
2 checks passed
@gregberge gregberge deleted the docs/cached-pipelines-finalize branch July 10, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant