‹ BackHN Continuity

Thread

AI coding has made CI a bottleneck, so we reworked ours to keep up

317 points · 408 comments · julian_digital

  1. zackify · · focus · HN ↗
    Our CI has thousands of tests and is done in 2 minutes. Everytime it grows above 3 I add more parallelization and keep it ultra fast. Been working great for our team
    1. MikeNotThePope · · focus · HN ↗
      How are you speeding up the provisioning? Most of my tests run pretty quick, but spinning up a new runner takes probably most of the time. I haven’t tried optimizing this yet.
      1. zackify · · focus · HN ↗
        I have lxd containers already running that have everything the system needs.

        When starting CI it's doing a DB SQL dump replacement which takes 1-2s to prep, self hosted github actions.

        Its been very cheap to run OVH cloud with the newest and fastest AMD EPYC CPUs that have high single core speeds. Did this as it was cheaper than GCP spot to have these always on.

        I'll run many always on lxd containers that all match with the same stacks. Add another one when needing to parallelize more

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.