Compare

cigen vs CircleCI dynamic config and path filtering

CircleCI's setup workflows and path-filtering orb pick the work a change needs at runtime. cigen builds on setup workflows to skip jobs that passed, but can't run them end to end yet.

CircleCI dynamic config (path-filtering orb)Checked against its docs on 2026-12-04

CircleCI’s dynamic configuration lets a small “setup” workflow decide what the rest of the pipeline runs. Its path-filtering orb is the common way to use it: map changed paths to pipeline parameters, and continue with only the work those parameters switch on. cigen’s CircleCI provider is built on the same mechanism, and its skipping isn’t working yet, so today this page is mostly about when CircleCI’s own tools are enough.

What CircleCI does

A config with setup: true runs first. Its jobs get a CIRCLE_CONTINUATION_KEY and continue the pipeline with another configuration once. Continuation has to happen within six hours of the pipeline starting, a pipeline can be continued only once, and rerunning the workflow fails, so you start a new pipeline instead (Dynamic configuration overview).

The path-filtering orb (v3.0.0) diffs the commit against its merge-base with base-revision (default main), matches the changed files against regular expressions in mapping, sets the matching pipeline parameters, and continues with .circleci/continue_config.yml. When the commit is on the base branch itself, same-base-run (default true) compares it with the previous commit (filter job).

Where CircleCI’s tools are the better choice

  • They work today and are maintained by CircleCI. cigen’s CircleCI skipping does not run yet (below).
  • Nothing extra to install: an orb and a mapping.
  • Parameters can switch whole workflows on and off, which suits monorepos with one workflow per project.

Where cigen’s approach differs

The orb answers “which paths changed since the merge-base, or since the previous commit on main?” The same gaps as any path filter follow:

  • On main, a commit is compared with the one before it. If the previous pipeline failed and the next commit touches other paths, the failed work isn’t run again.
  • The mapping lists the paths someone thought of. A change to a script, a lockfile or the CI config that isn’t in the mapping switches nothing on.

cigen’s design for CircleCI hashes each job’s inputs in the setup workflow, looks up which hashes already passed, and continues with only the jobs that still need to run. A job would keep running until its exact inputs pass once, whichever paths the next commit touches.

What cigen can’t do yet

cigen generates the setup workflow and continuation for CircleCI, but the setup job can’t run end to end: it calls a form of cigen generate the CLI doesn’t have, on an image without cigen (providers, how skipping works). Until that’s fixed, use cigen to generate CircleCI config without skipping, or use the path-filtering orb. CircleCI parity is on the roadmap, after GitHub Actions.

When to pick which

  • The path-filtering orb: CircleCI projects that need to skip work today, especially monorepos with a workflow per project.
  • cigen: GitHub Actions today. On CircleCI, once its setup job runs, for skipping by what passed rather than by what changed.