# Stacked PRs: what they are and how to run CI on a stack

DevFeed: [Stacked PRs: what they are and how to run CI on a stack](<https://devfeed.tech/articles/stacked-prs-what-they-are-and-how-to-run-ci-on-a-stack-88989.md>)

Original publisher: [Read original article](<https://circleci.com/blog/stacked-prs-and-ci/>)

Author: Jacob Schmitt

Published: 2026-10-16T16:00:00Z

Content type: tutorial

Language: en

Sources: [CircleCI](<https://devfeed.tech/sources/the-circleci-blog-feed-circleci.md>)

Topics: [CI/CD](<https://devfeed.tech/topics/cicd.md>), [test impact analysis](<https://devfeed.tech/topics/test-impact-analysis.md>), [dynamic test splitting](<https://devfeed.tech/topics/dynamic-test-splitting.md>), [developer-productivity](<https://devfeed.tech/topics/developer-productivity.md>), [auto rerun failed tests](<https://devfeed.tech/topics/auto-rerun-failed-tests.md>), [CircleCI](<https://devfeed.tech/topics/circleci.md>)

Tags: [circleci](<https://devfeed.tech/tags/circleci.md>), [coding-agent](<https://devfeed.tech/tags/coding-agent.md>), [continuous-integration](<https://devfeed.tech/tags/continuous-integration.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [engineering-productivity](<https://devfeed.tech/tags/engineering-productivity.md>), [github-stacked-prs](<https://devfeed.tech/tags/github-stacked-prs.md>), [path-filtering](<https://devfeed.tech/tags/path-filtering.md>), [pull-requests](<https://devfeed.tech/tags/pull-requests.md>), [smarter-testing](<https://devfeed.tech/tags/smarter-testing.md>), [stacked-diffs](<https://devfeed.tech/tags/stacked-diffs.md>), [stacked-prs](<https://devfeed.tech/tags/stacked-prs.md>), [stacked-prs-ci](<https://devfeed.tech/tags/stacked-prs-ci.md>), [stacked-pull-requests](<https://devfeed.tech/tags/stacked-pull-requests.md>), [test-impact-analysis](<https://devfeed.tech/tags/test-impact-analysis.md>), [tests](<https://devfeed.tech/tags/tests.md>), [what-is-a-stacked-pr](<https://devfeed.tech/tags/what-is-a-stacked-pr.md>)

## AI overview

This tutorial explains how stacked pull requests work and why each branch can trigger repeated CI pipelines. It describes ways to reduce redundant validation, including path filtering, test impact analysis, dynamic test splitting and parallelism, pre-push checks with coding-agent sidecars, and tools for diagnosing CI failures. It also explains tradeoffs such as coverage across stacked changes, compute costs, and when a stack may add more review work than it saves.

## Source excerpt

Learn how stacked pull requests work, why they increase CI usage, and how to reduce redundant builds and tests with CircleCI.