Moab Engineering got its median continuous integration (CI) run down to 58.6 seconds and kept it under a minute as the test suite grew. Its software is a financial source of truth for customers, so the team kept running every unit test.
- Balance jobs by time. Moab initializes the application once, then forks test workers. It uses past runtimes to spread slow tests across runners and gives independent checks their own jobs.
- Reuse what takes time to build. Runners keep a Git mirror and Docker images on a persistent disk. A database snapshot replaces most of the work of creating the schema and loading fixtures.
- Count the wait before jobs start. Most jobs start within 8–12 seconds. In Moab’s measurements, two 16-vCPU runners started faster than a single 32-vCPU runner.
- Skip work with a clear trigger. Pull requests without schema changes skip the migration step. The full unit suite still runs, even for a small diff.
Measure the path from push to result before cutting tests. The biggest delay might be runner startup, a database rebuilt from scratch, or one slow shard holding up the whole run.