01Chapter 1: How CI triggers and status checks workThis chapter assumes you know the basic Git and pull request workflow. It also assumes you have used a CI system such as GitHub Actions, GitLab CI, or Jenkins, and that you know what linting, unit tests, and integration tests are. The examples use GitHub Actions. The ideas carry over to other system3 min read
02Chapter 2: Feedback speed versus confidenceThis chapter assumes you know the basic Git and pull request workflow, have used a CI system such as GitHub Actions, and know what linting, unit tests, and integration tests are. It covers the trade-off behind every placement decision in the chapters that follow.3 min read
03Chapter 3: Kinds of checks and what each one costsThis chapter assumes you know basic Git and pull request flow, have used a CI system such as GitHub Actions, and know what linting, unit tests, and integration tests are. Here you learn to describe any check by its cost and its failure signal. The next chapter uses those descriptions to decide where2 min read
04Chapter 4: A decision framework for where a check belongsThis chapter gives you a repeatable way to place a check at the pull request (PR), merge, or nightly stage. It assumes you know what lint, unit tests, and integration tests are. It also assumes you have used a CI system such as GitHub Actions and understand status checks. The earlier chapters covere3 min read
05Chapter 5: What belongs on every pull requestThis chapter assumes you know the basic Git and pull request workflow, have used a CI system such as GitHub Actions, and know what linting, unit tests, and integration tests are. It covers which checks run on every pull request and why.2 min read
06Chapter 6: What to run at merge time and on mainThis chapter assumes you know how pull request checks work in a CI system such as GitHub Actions, and that you can tell unit tests from integration tests. It covers the second stage of the pipeline: the checks that run when a change is about to land, and after it has landed on main.3 min read
07Chapter 7: What to defer to nightly buildsThis chapter assumes you know Git and pull request workflow, have used a CI system such as GitHub Actions, and know what linting, unit tests, and integration tests are. It covers the third stage of the placement model: checks that run on a schedule instead of on every change.3 min read
08Chapter 8: Configuring the three triggersThis chapter assumes you know basic GitHub Actions syntax (workflows, jobs, steps) and the pull request workflow. The examples use GitHub Actions. GitLab CI and Jenkins have equivalents, such as merge request pipelines and scheduled pipelines.2 min read
09Chapter 9: Required status checks and branch protectionThis chapter assumes you know how a CI workflow reports a status to a pull request, and that you can read a GitHub Actions workflow file. It covers how to make a check mandatory and how to avoid blocking merges by accident.3 min read
10Chapter 10: Running fewer checks with path filtersThis chapter assumes you can read a GitHub Actions workflow and know what a required status check is. You will learn to skip checks that cannot be affected by a change, without leaving pull requests stuck.2 min read
11Chapter 11: Keeping flaky tests from blocking mergesThis chapter assumes you know how required status checks work and have written a workflow in GitHub Actions or a similar CI system. It covers how to spot flaky tests, how to contain them, and how to keep them from stopping merges.3 min read
12Chapter 12: Owning and triaging nightly failuresThis chapter assumes you know how scheduled workflows run in GitHub Actions or a similar CI system. It also assumes you have read the earlier chapters on what to defer to nightly builds and on flaky tests. Nightly checks only help if someone reads the results. A red nightly run that nobody owns turn2 min read
13Chapter 13: Runtime budgets, caching, and parallelismThis chapter assumes you can read a GitHub Actions workflow, know what a job and a step are, and have already sorted checks into pull request, merge, and nightly stages. Here you will keep each stage fast enough to be useful.2 min read
14Chapter 14: Reviewing and moving checks over timeCheck placement is a decision you revisit, not a one-time setup. Test suites grow, code changes, and a check that fit on pull requests last year may now be too slow. This chapter assumes you know the three stages (pull request, merge, nightly) and have a basic grasp of required status checks and fla3 min read