NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Subminute CI (engineering.moab.com)
brennerm 16 minutes ago [-]
Quick shameful plug because it fits the topic very well. I'm currently building pipescan, a tool to gather insight about your CI pipelines and visualize the data. The goal is to easily identify the jobs/step that yield the most potential for improvements.

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

18 minutes ago [-]
colek42 50 minutes ago [-]
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.

CBLT 29 minutes ago [-]
I agree with the premise, but why did you chose signatures and attestation over just job caching? Having job infra that can be driven by CI or local, and caches by input hashes, is the "traditional" way of doing this in big tech.
philipp-gayret 45 minutes ago [-]
> The key part is building a layer of trust around everything the agent does or schedules.

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.

martin_drapeau 29 minutes ago [-]
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.
joe-esquibel 35 minutes ago [-]
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.
K3UL 17 minutes ago [-]
That's great, but when you run on Github Actions, going subminute is actually a waste considering Github bills the first minute as a whole
guhidalg 15 minutes ago [-]
Your time is free?
muqsitnawaz 22 minutes ago [-]
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
bob1029 30 minutes ago [-]
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.

kccqzy 47 minutes ago [-]
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.
byroot 15 minutes ago [-]
You can fork and use threads, what POSIX disallow is to fork after having started threads, as long as you fork before you're in the clear.

And in practice, at least on Linux, forking after having spawned threads is possible if done extremely carefully, but hard to do.

Culmone 18 minutes ago [-]
Forking is a parallelization strategy, not evidence of an absence of multithreading.

I'm skeptical that pure threading would improve throughput here.

pjm331 44 minutes ago [-]
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

emschwartz 48 minutes ago [-]
I'd be curious if anyone with a Rust code base can manage this
rockwotj 37 minutes ago [-]
unlikely a large rust codebase can compile this fast and run tests without remote caching and incremental test running (they mention at the end they don’t do this)
esafak 28 minutes ago [-]
How do you get subminute runs on Github Actions ? It's barely working as we speak: https://www.githubstatus.com/incidents/121bhnw0ptrb
yunyu 59 minutes ago [-]
[flagged]
falcor84 50 minutes ago [-]
I don't see the relevance of AI in this scenario. If you believe that the average human programmer can be just trusted to write correct, useful and fast tests, without requiring a detailed code review, then you probably work at a different industry from mine.
yunyu 34 minutes ago [-]
I think human programmers are more judicious about the tests they write, vs models that have been PTSDed into writing a bunch of low-value checks that basically duplicate implementation details. I say this as a strong proponent of AI coding agents.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 19:01:33 GMT+0000 (Coordinated Universal Time) with Vercel.