Design

Monorepo

A monorepo is a version-control repository that contains many distinct projects (services, libraries, tools) with shared tooling and atomic cross-project changes. Adopters include Google, Meta, and Uber; tooling has matured rapidly (Bazel, Nx, Turborepo, Pants) but the model still has real trade-offs against polyrepo.

Updated

Monorepo arguments: atomic cross-project refactors (rename an API and update every caller in one commit), uniform tooling (one CI config, one lint config), and visibility into every other team's code. Polyrepo arguments: independent versioning, smaller blast radius for permissions and CI, faster clone/checkout times, and clearer ownership boundaries. The dirty secret: most monorepo wins require investment in custom tooling (incremental builds, dependency graphs, partial CI) that small teams underestimate. The pragmatic threshold: teams with >50 engineers and high cross-team dependency see strong monorepo wins; teams with <20 engineers usually don't.

See the term at work

Stride keeps stories, architecture decisions, tests and delivery data in one workspace, where the terms in this glossary are things you can open.