16.6 · Multi-hour CI, affected-module builds, caching, and Tuist and Bazel

When an app has hundreds of modules and many teams, the build becomes a product of its own: the question is not “how do I compile this” but “what must I rebuild and retest for this change”.

Mental model. Do the minimum work the change requires: build and test only the affected modules, reuse results with a cache, and run the rest in parallel.

Scaling the build

Affected-module builds, caches, and tools for large graphs.

  1. A CI pipeline takes hours on a large modular app. How do you analyse and cut it: affected builds, caching, parallelism, and Tuist or Bazel? 16.6.1 · L8
    Start by describing the pipeline as data: stages (resolve dependencies, build, unit tests, UI tests, lint, archive, upload), their durations, what each depends…

More in Modularization & SPM