Why AI Coding Agents Need Smarter Testing
A dozen years of change at CircleCI
Zuber has been at CircleCI for more than 12 years. In that time, its typical customer moved from Rails apps on Heroku to mobile, then to Docker, Kubernetes and microservices. Now AI-driven development is changing things again. Still, the goal hasn’t changed. Teams want to ship high quality software quickly and get feedback from customers as fast as possible.Why speed is exposing weak testing
Competitive pressure and a steady stream of security fixes are pushing even slow-moving companies to ship faster. Many don’t have the tooling or practices to do that safely. As a result, the gaps are showing, and Alan points to a recent string of outages at banks, agencies and tech firms. At the same time, some teams are running autonomous software factories with no handoffs at all. Zuber says the gap between these leaders and everyone else keeps growing. Either way, moving fast requires high confidence in what you ship, along with good observability and the ability to roll back quickly.How smarter testing helps AI coding agents
CircleCI is pushing the feedback teams used to wait for in CI straight to the coding agent. With that feedback, agents reach good results faster, use fewer tokens and need fewer turns. CI then becomes a record of what was validated, rather than the first place the whole system is tested. Cost matters too. As AI spending rises, CI spending rises with it. CircleCI’s new smarter testing runs only the tests affected by each change and spreads them out aggressively. That gives teams faster feedback while using far less compute. To learn more, visit circleci.com. Zuber also recommends The Confident Commit newsletter and podcast, and CircleCI’s State of Software Delivery report.Transcript
Hi, everyone. " My next guest is a blast from my DevOps past. He used to be a regular here.
I would talk to him at least every two, three months, but we were talking before we got on. I don't know if I've had him on in a couple of years, but he's still Rob Zuber, CTO at CircleCI. Rob, it's great to have you on again, man.
How have you been? Yeah, really good. Great to be back.
Thanks for having me. My pleasure. Hey, Rob, not everyone remembers the last time you were on here, and they may not be familiar with you or CircleCI for that matter.
But let's start with you. Give folks kind of a little bit of your background. You've been at CircleCI for a long time, but- Yeah ...
you can tell them. I don't know if it works or not. Yeah.
So I've been at CircleCI over 12 years, and that is a long time, particularly a lot has changed. We'll get into that in terms of just software delivery and we're a CI/CD platform, so right in the heart of software delivery. I've enjoyed doing that for a long time.
I enjoy having customers who are on the cutting edge of building and shipping software, right? And so we're seeing so much of that change right now. I'll get back into that.
I got here, I am an engineer. I've been in software engineering since the late '90s, and so that experience really plays into my interest in being at the center of this, and just always been entrepreneurial, right? Started a bunch of different things.
I've worked in every kind of space, from mobile to consumer electronics to building websites back in the '90s and sort of the whole dot-com boom. And so I've done a little bit of everything, and then bring all that together to try to support software engineers and companies as they're trying to navigate so much change so quickly, both through just direct conversation with them, but also building products to help support them through that. I love it.
com, right, we were still making the transition from-- People had a hard time saying CI to CD, but-- Right? Because there was a separate CI before there was a CI to CD. Yeah.
And then with DevOps and everything, it really became one word, CI/CD. No one said CI without saying CD. But CircleCI was one of the originals in there, right?
Mm-hmm. Yeah. Before there was a GitLab and before there was some of the other companies that came to DevOps and software development and release.
CircleCI's been through a lot of-- It's lived through all of these changes that- Yeah ... you were mentioning, and we'll talk about. But give people a sense of, first of all, where it was, but more importantly, where it is today.
Yeah. So exactly. We've been through a pretty long journey.
Our ideal customer in 2011, 2012, when the company was started and launched, was a Rails developer deploying to Heroku, right? Right. Just to kind of put yourself in the mental space of what we were taking on back then.
A little throwback. Yeah, exactly. And then by the time I joined, which was 2014, everything was mobile first.
So a lot of it was, I came in because we had built an iOS CI/CD platform, and so bringing that. A lot of the tools that we had built for the web, bringing those to mobile communities and accelerating that kind of delivery. And then Docker and Kubernetes and orchestration and microservices.
How our customers build software has changed significantly over the whole arc, and it's changing very significantly right now. But our goal has always been the same, right? We're trying to help those customers deliver high quality very quickly and get feedback as quickly as possible from their customers, right?
The goal is we know we're wrong, usually, about whatever we're building, right? Whoever you are, whatever market you're going after, particularly now, there's so many open questions, and I'm not going to answer those questions sitting in a room or writing a document. I'm going to answer those questions by putting software in the hands of customers.
So how do I do that confidently, right? And make sure that on the CD side, that if something does go wrong, I have a tool to get that corrected, right? So changed all the underlying systems, and we've been through all those changes, and there are more coming, but the goal is still the same, right?
Rapid software delivery and feedback. Absolutely. Now, we mentioned a few times AI and AI-driven development.
Mm-hmm. But it's fundamentally, I think more than any other industries at this point, there'll be a lot more bigger disruptions coming. Yeah.
But right now, software development is literally the battlefront- Mm-hmm ... for how AI is changing things. It's changing just the economics of it.
ETR, we're part of Futurum, and ETR's part of Futurum. They just put out a big report. Cloud code is deployed at like 47 or 51% of the organization, over 10,000 organizations that responded.
Half the organizations are using cloud code, and that doesn't mean out of the other half, how many of them are using OpenAI or some other agent- Yeah ... some other AI to help with their development. Clearly, we've reached critical mass on this.
Mm-hmm. It's changing how developers work. It's changing the economics of it.
But it's not just the coding, it's that whole pipeline, it's that whole CI/CD pipeline that is being radically twisted, changed, evolved. Yeah. And we recorded this in the last week.
There's probably been six, I could count Apple, the NSA, the FAA, Microsoft, and I'm sure I'm leaving one or two out that are out there too that had breakdowns. Some banks, Chase and Wells- Mm-hmm ... is probably another one.
All as a result of them putting out software fixes, updates that obviously were not-- Well, if they broke- Yeah ... I think by definition, they weren't tested well, right? Yeah.
Exactly. And I think one of the factors there is it used to be, I won't say it was great, maybe okay, like fine, fair, like a low rating, but you could move slowly and be okay. If you were a bank, there wasn't a high expectation of rate of change, for example.
Customers prefer that my bank is a stable thing. I know how it works, right? But when you operate in a market where either the competitive pressure has grown significantly, let's take a bank as an example, right?
Now I'm facing all of the new banks that don't even have physical presence. They just target really cool digital features, and they're drawing away from the kind of big established incumbents, right? So now we need to start accelerating how we deliver.
And then layer on top of that, we keep talking about security, just people finding security issues in everything from 14-year-old Linux kernel bugs up to every Java framework that we use, right? So now, even though I didn't feel like I had to move quickly, I'm being forced to move quickly, and I don't have the tooling in place, I don't have the practices in place to move at that pace, right? So what's getting exposed is we used to paper over that, right?
You could be, in an established industry, a slow mover if you had a bunch of manual testing and whatever. And then you're like, now we have this critical issue that we have to get fixed, and we don't have the tooling in place to get that done, right? So I think the market dynamics are driving people to move a lot faster, and the gaps are just getting exposed.
You put more pressure on a system, and the gaps will start to, the cracks start to show, right? And so we're seeing a lot of that dynamic, I think, in the market right now. And so that's kind of one end of our spectrum, which is like, hey, we used to be really slow, and we'd like to be a little less slow.
And at the other end, we have people, customers who are just absolutely blowing the doors off in terms of the speed that they're operating, right? They're not just adopting a cloud code, but building autonomous factories. We have a factory internally.
We're making that available to people. Moving at a completely automated pace, eliminating all the handoffs, et cetera, and then a whole different set of things break under those conditions. But certainly, you can't move at that pace without very good- ...
testing. I mean, for whatever definition you wanna have for that. I need to have really high confidence that what I'm putting in front of my customers is going to work well, and I need the safety net of great observability, good deployment tools.
I should be able to fail forward very quickly, all of those things, right? But I really think these sort of slower operators that were maybe comfortable are getting exposed, right? In one way or another, whether it's security dynamics, competitive dynamics.
Now we really have to move faster, and their lift is much bigger than people who were already really good and now are just taking advantage of everything that's been built. Right. I agree with you.
I think we're seeing a bifurcation. There are some people who are just accelerating. Man- Mm-hmm ...
they're accelerating 4X, 3X, 5X. And then there are, I don't want to use the word laggards, but there are people who just aren't, right? They were used to a pace that today's reality exposes them to chaos.
Yeah. I don't know a better word to use. Yeah.
Right? Chaos. Yeah.
And now it's somewhat Darwinian because I think eventually you come out the other side, and those people who can keep up will thrive, and those that don't will fall by the wayside. And we'll have better software as a result. We'll have more secure, safer, better written software, better tested software as a result.
Unfortunately, how many patients may die on the operating table getting there is the question, right? Yeah. And I think that's where companies like CircleCI can come in and try to help those companies, right?
The jackrabbits, if you will, the guys who are accelerating, and they'll pick their tools, they figure out what they want to do, and they run real fast. Yeah. And we're absolutely seeing that.
We're seeing the spread grow, right? Yeah, the gap. I keep describing barbell curves.
It's not that extreme. There are people in the middle because they're trying to get from this end up to this end. Mm-hmm.
But there's absolutely, the overall spread is getting bigger because the ones that aren't moving, they're staying the same. And to your point, if you're going 10X, 20X at the other end, then by definition the distance is getting bigger and bigger. Yep.
Let's talk about how CircleCI is helping. Yes. So the place that we're putting a lot of energy right now is trying to drive the feedback that you would get in CI basically down to the agent, right?
Whether you're using a cloud code off the shelf or building a factory, people are at all different kinds of stages, right? But what we know to be true is if you give the agent direct feedback that previously would have waited until CI, right, like really high quality, full testing, et cetera, maybe targeted testing in some cases because we're trying to do that fast and as cheaply as possible, but push all that down to basically direct feedback to the agent, then the agents will get to better outcomes faster. They'll spend less tokens.
They'll use fewer turns. There's fewer waits and handoffs. And so it's a big part of accelerating, right?
Is eliminating all the handoffs. This is not new as of AI. This was the point of DevOps, right?
But what we see now is even the minimal handoffs that we had, like waiting for a PR, right? I think the day the PR was invented, people started complaining about the wait time of PRs. It's been a hot topic forever.
But now the idea that you would wait at all when you were able to build this whole thing in a few minutes is- Who knows ... yeah, just doesn't make any sense, right? Yeah.
So integrating all those things, giving direct feedback, deciding, hey, we already ran all the feedback necessary on this, so we can skip ahead into the CI process. CI becomes more about ensuring that on this exact version, we already ran these things or we're running them now, we're really confident, and we have a log of everything that happened. We know what went through and why, and less being kind of the first place where we actually see the whole system functioning, right?
It's just too late. So we're driving a lot of that stuff down, again, into the agent world, structuring components so people can build factories around this stuff, whatever the right model is for that customer. And then everywhere we can, cutting out time and effort because, unsurprisingly, as AI spend goes up, so does CI spend if you don't do something about it, right?
If you just let your agent build whatever it wants and throw it into CI, you're going to burn a bunch of time and energy in CI in ways that you could have done either earlier or for less effort. So we just launched this smarter testing capability. We've had a bunch of customers using it for a while, which is identifying which specific tests need to get run for this change, load balancing that out very aggressively so that we can get through the whole thing really, really fast, so that we can give that feedback really quickly.
And we use way less compute, way less time and energy. It's cheaper for our customers. They can move faster and get more value, deliver more value to their customers for what they're doing on top of our platform.
I love it. Rob, we only do these for 15 minutes. That hasn't changed, I think, since the last time I had you on here.
And we're coming up on the end of our time, but people want to get more information about CircleCI, what's their best bet? Yeah. com is the obvious thing.
" And then through the newsletter, we also identify things like our State of Software Delivery report, where we use all of our data to describe what's happening in the industry, who's succeeding, what kind of practices they're following, et cetera. So I would- Is that out and available right now? Yeah.
com- When did it come out? " Yeah. Beautiful.
Rob, do not wait three or four years, or however long it's been, to come back on and say hello to me, okay? I will not. I hope to see you at re:Invent, at least in person, just to say hi.
I will be there. And I'll do my best to stay in touch. Absolutely.
Awesome. Stop up, come up to our suite. We can have coffee, whatever, a drink, something.
Actually, we're doing a-- Well, I'll talk offline with you. Rob Zuber, CTO CircleCI, here at Techstrong TV. We're going to take a break.
We'll be right back.