Integration Streams were once typically implemented as streams or branches in version control tooling, drawn as layered development, integration and release branches, with change sets promoted upwards by push or by an integrator’s pull. Read that today and it looks like the thing the industry spent a decade moving away from. It is, and the mechanism should go. The concept should not, because the concept was never really about branches. It was about three things:

  1. Each level of the H has a matching level of done, so there must be a place where a product is proven at that level.
  2. Promotion between levels is gated: nothing moves up unless it has passed the checks of the level below.
  3. Every stream always holds a runnable version of the product, so any version can be shipped when the business wants it.

All three are now delivered better by a pipeline than by a branch tree.

Integration Streams reframed: stages and environments, one trunk, each with its level of doneWorkspacedevelopedTrunk buildunit and system testedProduct stageintegration testedFamily stagecross-product scenariosProductionlive, progressive deliveryEvery arrow is a gate: an executable check for the next level of done, not a mergePromotion is of a built, versioned artefact. The same artefact goes all the way; nothing is rebuilt per stage.One trunk. Short-lived branches, hours not weeks. Unfinished work hidden behind feature flags.Release (deploy the artefact) and launch (turn the flag on) are separate decisions.canary, blue-green, rollbackTeam Aits own trunk and stagesTeam Bits own trunk and stagesteams share versioned interfacesand built artefacts, never eachother's source changesStreams are stages, not long-lived branches: levels of done, gates and the pull upwards.
Integration Streams as pipeline stages and environments. One trunk, short-lived branches, feature flags for unfinished work; each stage is a level of done with an executable gate; teams share built artefacts and versioned interfaces, not source.

Trunk-based development. One mainline per product. Branches live for hours, not weeks, and merge back through a continuous integration build that runs the unit and system checks. Long-lived integration branches were the mechanism for separating levels of done; they are no longer needed for it, and they cost merge pain and late integration, which is exactly the disease the stream was meant to cure. The evidence from Accelerate (Forsgren, Humble and Kim, 2018) and the DORA research since is consistent: trunk-based development with short-lived branches correlates with both throughput and stability.

Feature flags. Unfinished work goes to trunk behind a flag, dark. This separates the two decisions that branch-based streams conflated: deploying an artefact (release) and exposing it to users (launch). It also lets a Release Plan be about what is switched on for whom, which is a far more useful planning question than which branch is frozen.

Stages and environments as the levels of done. The development stream becomes the continuous integration build; the integration stream becomes a product stage with its environment, where the product’s Integration Scenarios run; the top-level stream for pulling Releases together for transition becomes the product family stage, shared across teams, where cross-product scenarios run; and the release stream becomes production, reached by progressive delivery. The Operations page covers environments and platform engineering; the point here is that every stage is a level of done with its own executable check, and promotion is of a built, versioned artefact that is never rebuilt on the way up.

Progressive delivery. Canary releases, blue-green deployments and staged rollouts give production its own gradient of done: live for 1%, live for a region, live for everyone. Rollback is cheap, so a Release that misbehaves is a short incident rather than a programme crisis. GitOps makes the state of every environment a versioned, reviewable declaration, which turns “which version is where” from a question into a file. See Infrastructure as Code and Observability.

The recursion is unchanged. Teams have their own trunk and stages; a product family has a shared stage into which teams’ built artefacts are pulled; a system of systems may have one more. Keep the number of layers to the minimum the structural complexity dictates, because every layer is a queue.

Two rules apply. “You’re not allowed to break the build” is the wrong phrasing; we want integration problems found as early as possible, so a broken build is good news. The rule is “if the integration is broken, we fix it before continuing”. And an integration stream always has a runnable version of the product: a stage whose environment is red for a week is not a stage, it is a branch with a different name.

Release trains and synchronised sprints

The H-Model rejects release trains and synchronised sprints, and it is still a live fight. SAFe’s Agile Release Trains and Planning Interval cadence (eight to twelve weeks of synchronised sprints, planned together in a large room) are the default in many large enterprises, so we should be fair about why people choose them. A shared planning event makes cross-team dependencies visible, forces conversations that would otherwise not happen, gives executives a rhythm they can attend, and makes a big programme feel plannable. Those are real benefits. The cost is that synchronisation forces everyone to move at the pace of the slowest team, batches integration to the boundary, and makes planning easier without making delivery easier. “We integrate at the end of the increment” is waterfall with a shorter wavelength.

The H-Model gets the benefits a different way. Dependencies are made visible by Integration Scenarios, which name every product a thread of value crosses, rather than by a planning wall. The cross-team conversation is held continuously by the Product Forum rather than quarterly by everyone. And integration happens on every change through the pipeline stages, so there is nothing to synchronise. Where changes genuinely must land together, pull them together through a scenario, not a calendar. If you already run a train, the least disruptive move is to keep the planning event and stop waiting for the boundary: let every change promote as far as it can, as soon as it can, and let the train become a report of what has already integrated rather than a date on which it will.

Interfaces, not code

Sharing source changes across teams for reuse or integration is not ideal. Share built, versioned artefacts and depend on interfaces instead: the layered pictures, and the Big Picture, show built components being shared rather than change sets for this reason. Each published version of an interface should be immutable and long-lived; expect several to be published over time, and expect components and services to support more than one at once. Resist freezing interfaces early, which looks like control and is actually fragility.

The practice that makes this concrete is contract testing: each consumer states, as an executable test, what it needs from a provider’s interface, and the provider runs every consumer’s contract in its pipeline. A provider cannot break a consumer without failing its own build, and a consumer cannot depend on behaviour the provider never promised. Contract tests belong at the product stage, before the family stage, because they let teams integrate without waiting for each other’s environment. They are the cheapest form of the Integration Tested level of done that exists.

Last updated