Our full CI pipeline is now sub 1 min. Here is what I did:
- Vitest -> bun test
- tsc -> bun check
- oxlint -> bun lint
- oxfmt -> bun fmt
- shards filled by recorded test time
- PRs run only the tests the diff can reach
- backend builds the app once per process
- lint, typecheck, build and tests all in parallel
200+ hours of waiting saved every week
In the next version of Bun
bun test gets improved Vitest compatibility, including: DOM environments, automocking, vi.mock hoisting, and async fake timers
Security incidents across open-source aren't showing signs of slowing down
The Bun team is dedicating a higher % of our time to security work for the foreseeable future
We upgraded our Bun runtime to Bun 1.4 and took Node.js out of the image entirely.
Memory per container dropped 41%, cold starts are 18% faster and the image is 25% smaller.
@jarredsumner and the @bunjavascript team are still cooking.
https://t.co/Y6ZfBEFgDU