It's currently in beta and only supports Github Actions, but I'm actively working on supporting other CI systems such as Gitlab CI, Jenkins, etc.
Have a look at the demo and feel free to give a try with your repo.
Site: https://pipescan.shipit.dev/ Demo: https://pipescan.shipit.dev/demo
Related only that it’s also a shameful plug (sans links because I don’t have any)
I’ve built a proof-of-concept CI yaml compiler that converts it all into runnable nodes that track dependencies appearing it to figure out and flag where there are missed opportunities for parallelism
Once it has this new compiled DAG a schedule goes and sends out the work across available build agents, using a scheduler that continually measures and optimises for earliest completion time or whatever metric matters to you
It sounds like wasted effort but the ability to dynamically prioritise at a broad or granular level, and to not depend on the CI systems scheduler, and control how results are cached has been a really big deal for us
The metric we used is the median (P50) of the critical path time (aka the amount of time it takes all required checks to complete).
P50 is a good metric, because CI time varies little between runs. In practice, P50, P90, and P95 often end up being the same.
Apart from that managing hardware bugs is a pita. Your build manifest should be able to tell which hardware built what code, I bet most cache solutions can't share that information.
And in practice, at least on Linux, forking after having spawned threads is possible if done extremely carefully, but hard to do.
I'm skeptical that pure threading would improve throughput here.
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.
I can attest to this, the way I approach it is to give my agents (inside of a private software factory running all day) tooling to run their CI-equivalent processes on the same machines they build and deploy to. Every build, test, deploy and so forth is attested by the server and there's no way around it, entire process takes about 5 seconds to get a Docker image minus tests. Tests are measured outside of individual tasks to keep it sub 10-sec. Has been working amazingly well.
if the code being tested does something interesting is responsible for processing variably sized inputs that can encode a variety of different situations, if you're throwing randomly generated inputs at broken code, the broken code may succeed for 10,000 random inputs but only start to fail & give you a clue that the defect exists once you throw 100,000+ inputs at it. i've seen this happen a few times when working on domain specific graph algorithm type stuff, where the inputs are some kind of annotated graph & defects only manifest when the input has a graph with a particular topology.
still, probably not worth it to run 10,000+ random inputs each time CI runs -- maybe better to have a protocol of manually doing a run of 100,000 or 1000,000 random test cases whenever someone modifies that code & if that surfaces any cases that cause their proposed change to fail, capture those specific counterexamples to be re-run every build.
could probably be streamlined with sufficiently clever logic to figure out the subset of tests that need to be run for any given code change. most of the time you're not modifying the guts of subsystems like this so running any of its tests is waste.
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
It looks like they might have a whole new market segment to play with.