Graphite is addressing the challenge of growing continuous integration (CI) costs faced by rapidly-scaling companies by introducing the Graphite CI optimizer, designed to work with Buildkite and GitHub Actions. This solution helps manage CI pipelines for stacked pull requests (PRs) by running CI selectively on certain PRs in a stack, such as the bottom or top PRs, to control costs and maintain release reliability. The optimizer can configure different test suites, allowing faster tests to run consistently and slower, more comprehensive tests to run only when necessary, such as before merging. Batch merging in the Graphite merge queue further reduces unnecessary CI runs by optimizing when and how tests are conducted. The CI optimizer integrates with Buildkite and GitHub Actions by adding specific steps or jobs to pipelines, allowing for efficient and controlled CI execution. Currently in private beta with some enterprise customers, Graphite plans to expand access to a public beta soon.