Moab moves to a monorepo and cuts median CI time to under a minute
What happened
Moab moved its whole codebase into a monorepo over a weekend in August and brought median CI time under one minute, a level it has held since even as the number of tests grew substantially. The team used an LLM to find optimization opportunities and sped up the pipeline by allocating tests by historical duration, persisting caches, choosing fast-starting runners and removing redundant steps. All unit tests still run after the changes. Because its ERP system is the source of financial truth for customers, the team deliberately dropped predicting test scope from PR changes to protect correctness.
Written by AI from the coverage · updated 4 hours ago
Coverage
Follow the reports to see the story from different sides.
- Hacker News front pageSubminute CI
Moab 在 8 月的一个周末将整个代码库迁至 monorepo,把 CI 中位耗时降至 1 分钟以内,并在测试数量显著增长后维持这一水平。团队借助 LLM 寻找优化机会,通过按历史耗时分配测试、持久化缓存、选择快速启动的运行器及消除冗余操作加速流水线。所有单元测试仍会执行,团队明确放弃根据 PR 变更预测测试范围,以保障作为客户财务事实来源的 ERP 系统的正确性。
Heat over time
Heat now 9·Comparable peak 10(Dec 3 03:00)·Comparable change over 24 hours –
The trend only compares accounts observed without gaps, so its range may be smaller than the current heat. Hover or tap the chart for each hour; the left and right arrow keys step through it.