logoalt Hacker News

Jarredyesterday at 2:49 PM3 repliesview on HN

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.


Replies

sandeepkdyesterday at 5:50 PM

I think the question for CI costs is still out there. While I do not think it should be in tunes of thousands a day but thats the skepticism presented in the article. True costs are really important to make a good decision in situations like this. One has to consider the fact that lots of people are going to use these numbers to justify the rewrite in future.

jojobasyesterday at 10:44 PM

So are the "$800k + CI" estimates accurate? And your team works weekends just to make tests faster?

JustSkyfallyesterday at 3:57 PM

How come Bun uses Buildkite instead of self-hosting the CI infra?

show 3 replies