Skip to main content
All features

Feature 06 of 07

Multi-repo releases

A product is a group of repos. One item can change several of them and still ship as one coordinated release: merged in order, recorded as one release, and reverted together if a merge fails.

What it is

Decompose splits an item's acceptance criteria across the product's member repos. Each repo gets its own child item running its own build chain. When every child has finished, the parent fans back in: a release manifest is frozen, product review judges the whole change, and the release stage merges each repo's pull request.

Why it matters

Real changes cross repo boundaries: an API and its client, a site and the service it describes. Shipping them as one release means no repo ships half of a coordinated change, and the release record says exactly what went out where.

How it works

  1. Criteria map to repos

    Decompose maps each stable acceptance-criterion id onto the repos that must satisfy it, plus their dependencies. A missing or invalid split costs one corrective lap, then goes to a decision. It never falls back to a silent fan-out to every repo.

  2. Fan-in freezes a manifest

    When every child is finished, completed children are included in dependency order and a nixed child is omitted with its reason on record. Only the included children's evidence reaches product review and release.

  3. Product review sees every PR

    Product review gets an evidence pack built from each included repo's live pull request (metadata, CI status, changed files and diff) and a matrix mapping every acceptance criterion to its evidence. Gaps stay explicit.

  4. Merged in order, reverted together

    The release stage merges each child's pull request in the product's declared repo order. If any merge fails, every earlier merge is reverted, so no repo ships a half-coordinated change.

  5. One release record

    The item records, per repo, the merged pull request, the merge commit and the merge time. Observe sweeps use that record to attribute a regression to the release that introduced it.

Where it fits in the loop

  1. intent
  2. triage
  3. refine
  4. decompose
  5. build
  6. review
  7. release
  8. observe

From decompose to release. Decompose fans out, each repo builds its own chain, review fans back in, and release merges the set.