BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News CircleCI Expands Smarter Testing to Reduce CI/CD Costs and Accelerate AI-Driven Development

CircleCI Expands Smarter Testing to Reduce CI/CD Costs and Accelerate AI-Driven Development

Listen to this article -  0:00

CircleCI is expanding its Smarter Testing capabilities to help engineering teams reduce CI/CD pipeline times and compute costs as AI coding agents increase the volume of code being produced. The enhancements introduce Dynamic Parallelism, which automatically adjusts the number of machines allocated to each test run, alongside intelligent test selection and other optimisation capabilities designed to reduce unnecessary testing and accelerate developer feedback.

The announcement addresses an increasingly important bottleneck in software delivery: testing can account for up to half of a CI/CD pipeline's execution time. As AI coding agents make it possible to generate and modify code more rapidly, traditional testing approaches risk becoming a constraint on delivery speed. CircleCI's objective is to make validation more responsive to the size and impact of individual changes, rather than applying the same testing workload to every commit.

At the centre of Smarter Testing is Intelligent Test Selection, which uses test impact analysis to identify which tests are likely to be affected by a particular code change. Instead of executing an entire test suite for every commit, CircleCI selects the relevant tests, reducing execution time and unnecessary compute consumption.

The capability also extends beyond the CI pipeline. Developers and AI coding agents can run affected tests locally before pushing changes, allowing problems to be identified earlier without incurring additional CI execution costs. This is particularly relevant to agentic development workflows, where agents may generate several iterations of code and need rapid feedback before submitting changes.

The new Dynamic Parallelism capability automatically adjusts the number of machines allocated to a test run based on the volume of testing required.

Traditional parallel testing often relies on predefined machine counts, which can result in resources sitting idle during smaller test runs or insufficient capacity during larger ones. By adapting the allocation dynamically, CircleCI aims to reduce unnecessary infrastructure consumption while maintaining efficient execution times.

This works alongside Dynamic Test Splitting, which distributes tests across available machines to balance execution time and reduce idle capacity. Auto Rerun Failed Tests further reduces wasted effort by retrying only failed tests rather than restarting the entire suite.

Together, these capabilities aim to make test execution more efficient without requiring teams to redesign their existing CI/CD pipelines.

Early customers are already reporting improvements, according to CircleCI's own press statement. Healthcare technology company Medallion has used Smarter Testing to accommodate growing development activity, with its pull-request volume increasing tenfold and its test suite growing 2.5 times.

William Yardley, Staff Infrastructure Engineer at Medallion, said the capabilities helped reduce cost per pull request and build times despite that growth.

"With the rapid growth of AI-driven workflows, CircleCI's Smarter Testing has helped us bring down our cost per pull request and reduce our build times, even as our pull request volume has gone up 10x and our test suite has grown 2.5x."

AI-powered customer service platform Kustomer has also reported savings, with Senior Software Engineer Maria Volpe stating that reducing unnecessary test execution cut the cost of running its tests by approximately 25%, while providing engineers with faster feedback.

"Smarter Testing changed the economics of our CI. The cost of running our tests was cut by a quarter, and because only the tests affected by a change run, our engineers get feedback faster."

These examples illustrate the potential value of combining test selection with more adaptive resource allocation: increasing development activity does not necessarily need to translate into proportionally higher testing costs.

CircleCI's broader argument is that faster code generation must be matched by more efficient validation. AI coding agents can produce changes rapidly, but those changes still need to be tested, evaluated, and verified before reaching production.

As AI-driven development increases the volume of code entering delivery pipelines, testing efficiency is becoming as important as code-generation speed. The next challenge for engineering platforms will be ensuring that validation, infrastructure capacity, and quality controls scale alongside the productivity gains promised by AI.

About the Author

Rate this Article

Adoption
Style

BT