Skip to main content
Start with the Dynamic CI step’s log in your CI run: it prints the plan, or the reason no plan was made. On Buildkite, set the plugin’s debug: true to also print the request.

Every job ran

When the step prints Every job will run with a reason, follow the instructions in the output. The code in brackets at the end names the case:

A job never skips

  • It is new or rarely runs. A job with fewer than about 10 runs in the last 7 days usually runs: Dynamic CI doesn’t have enough history to skip it.
  • It is required and there is no merge queue. A job a merge needs, or a job a required job needs:, always runs unless a merge queue runs it again before merge. Set up a merge queue.
  • Its schedule is Always Run. Check it in Configuration → Jobs.
  • The pull request is in Learning mode and not on the allow list.
  • The job doesn’t read its verdict. On GitHub Actions, its if: must compare needs.dynamic-ci.outputs.<job> with != 'false'. On Buildkite, the step needs a key: and must be in the pipeline you pipe through the filter.

A job was skipped and should have run

  • See why. The pull request’s Dynamic CI tab, and Decisions on the Dynamic CI page, show each decision and what decided it.
  • Run it now. Force Run the job, then rerun.
  • A path filter skipped it. A rule skip never counts as a false skip, so a filter that leaves out a path the job needs skips it with no warning. Check the job’s path filters.
  • The pull request is a draft. With the Draft PR gate on, jobs are skipped until the pull request is ready for review, and the step says so. Mark it ready, submit it to the merge queue, or Force Run the job.
  • The agent skipped it. See Reduce false skips.

A job is missing from Configuration → Jobs

The Jobs tab lists a job once Dynamic CI has decided it in the last 14 days, or once you change its settings. A job with no decision in the last 30 days and no settings is listed as Unmanaged instead. Wire it up as on the GitHub Actions or Buildkite page, and it appears after its next run.

Run Before Queue holds the pull request

The pull request’s readiness says why. See Failed to start for the common causes and how to unblock it.

Buildkite

  • baseSha is null on a pull request build. Fetch the target branch before the upload step.
  • Builds without a pull request, such as pushes to your default branch, can be skipped. To force a step, use Force Run in the Trunk web app.

Get help

Reach out on Slack with the repository, a link to the pull request, and the Dynamic CI step’s log.