docs: add cached CI pipelines guide and document finalize/skip commands#225
Merged
Conversation
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
argos finalize --skip-if-empty. Includes a complete GitHub Actions example, the Turborepo strict-env-mode passthrough gotcha, and an FAQ.env:block in the finalize example.finalizeandskipcommand sections —finalizewas previously only visible inside a YAML example, andskiponly in the skipping-a-build guide.Further comments
--skip-if-emptyships in argos-ci/argos-javascript#341 — this PR should be published after that release.The turbo env-precedence claim in the guide (a hashed
envdeclaration invalidates the cache even when a passthrough wildcard also matches the variable) was verified experimentally against turbo 2.9.18.🤖 Generated with Claude Code