We reduced our CI time from 11 mins to 70 seconds. Best investment we ever made! Pretty much agree with all the techniques mentioned in the article
Just did a similar thing for Laravel + Vue. CI runs on a dedicated AWS instance, builds assets and publishes them to CDN, runs smoke tests (headless browser) and then lets Laravel Forge deploy to web servers. Down to 5 minutes. I would love to bring that down further.
I've also been trying to squeeze the maximum amount of juice from my CI pipeline. It's typically the bottleneck in my agentic code factory. I don't think I did anything too novel just applied all the typical skips, smart loading of jobs, sharding, O(N) reduction, analyses of all the jobs to minimize time. It really helped. I built a little feed back loop, I measure my CI back log estimate and that dictates the rate at which new agents launch on the repo.
The gaming industry has been leaning on vendors like Incredibuild to dramatically reduce iteration times.
It looks like they might have a whole new market segment to play with.
I’m surprised that they still use forking. It probably means that they aren’t using threads at all, and are likely leaving performance on the table. Even if they mainly use Python, native code extensions still benefit from threads and thread pools.
just did a similar exercise to get ours from ~20+ mins down to <5, and had by no means exhausted opportunities to go faster, just felt like that was good enough
as a rails shop so much of our test time is spent on factory_bot, if I wanted to get subminute moving to fixtures would do the trick, just a bigger project than it's worth right now
How do you get subminute runs on Github Actions ? It's barely working as we speak: https://www.githubstatus.com/incidents/121bhnw0ptrb
I'd be curious if anyone with a Rust code base can manage this
One thing I have been experimenting with in our development lifecycle is moving everything into the agentic loop. The key part is building a layer of trust around everything the agent does or schedules. But there's absolutely no reason why your orchestrator needs to be a CI pipeline. The agent can be the orchestrator itself as long as you can validate what it does matches a policy.
This has cut our compute down to about 50% of what it was before and just removed a lot of the problems we had with integrating code at 20+ PRs an hour. We're probably going to move most of our projects over to this methodology fairly soon.
We have been building this into our open-source project, cilock.dev, which, full disclosure, is the core of a new developer tool we are building, pushgate.dev. This all comes from our work on in-toto and software supply chain provenance at Testifysec over the past 6 years.