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.
I’m glad that our biggest projects are open source, so we don’t have to pay $3k a month for CI...