logoalt Hacker News

lantrytoday at 2:41 PM1 replyview on HN

Any comment on the costs estimated in the article? especially the buildkite costs?


Replies

Jarredtoday at 2:49 PM

CI has always been expensive for Bun including before the acquisition. We build for [macOS, Linux, FreeBSD, Android, Windows] x [ARM64, x64] and then run tests on multiple Linux distros with multiple shards, multiple macOS versions and Windows for each architecture.

We recently started cross-compiling all the builds on Linux arm64 and that made it a little faster (I wrote a CLI tool to download the correct macOS headers for cross-compilation). We also have a daily cron job that asks claude to make the slowest tests faster while adding more assertions.

show 3 replies