We raised $3M for agent-native runners

Split independent work off the longest job

Run independent suites in parallel jobs when the overlap saves more than the repeated setup costs.

How Stripe used this technique

Read what Stripe changed and follow the original sources.

Split independent work off the longest job

Stripe iOS split installation and integration tests into separate jobs, keeping all five installation variants together so they share setup. Earlier, it moved one measured slow test class into its own job.

The combined job took about 27 minutes; after the split, installation took about 11 to 12 minutes and integration about 13 minutes, running in parallel, in Stripe’s combined CI runs. Source

Use it when
Two independent suites run one after another in the job that holds up the pull request.
Before applying it
Each new job repeats setup and may queue. Keep every test variant and simulator version, and keep one stable required check that reports every job’s result.

Company Playbooks