A branch opens in March and closes in June. Through those months the work on it passes local checks while the rest of the codebase keeps moving. On merge day the conflict list, the regression, and the review comments all arrive in one pile. That clustering is the cost of the branch's lifetime. It comes from the protocol the team chose, and a different protocol moves the same costs to a different day.

The model and its author's own second thoughts

Vincent Driessen's GitFlow post is dated 2010-01-05. It sets two branches with unlimited lifetimes, master and develop, plus three kinds of supporting branch with limited lifetimes: feature, release, and hotfix. The HEAD of origin/master is defined as production-ready. The structure is coherent and easy to draw, which is part of why it spread so widely.

The same page carries a reflection dated 2020-03-05, and leaving it out changes the meaning of the citation. Driessen writes that the model was conceived ten years earlier and had come to be treated as a standard, even a dogma. For continuously delivered web applications, he suggests adopting a much simpler workflow such as GitHub flow instead of forcing GitFlow onto the team. Software that is explicitly versioned, or that must support several versions already in the field, may still suit GitFlow. His conclusion is that panaceas don't exist. A conditional recommendation becomes an unconditional one the moment the second date disappears.

GitHub flow keeps the rules few

GitHub's official product documentation describes a lightweight, branch-based flow, and the page shows no version number. Work starts with a descriptive, short-named branch from the default branch. Changes are committed and pushed, a pull request is opened early, with a draft acceptable when feedback is wanted sooner, and the branch is merged after review and deleted afterward. The flow prescribes no release cadence and sets up no long-lived integration branch.

The granularity is written as advice. The documentation says that ideally each commit contains an isolated, complete change, and recommends a separate branch for each set of unrelated changes. The reasons given are easier reversion, easier review, and the fact that a delayed group of changes does not hold up another group. There is no official limit on pull request line count and no mandated number of merges per day. Size and frequency are terms a team negotiates, and treating them as platform constants removes the negotiation without solving anything.

What isolation actually costs

Martin Fowler's Feature Branch bliki is dated 2020-05-07. His definition is that all work on a feature happens on its branch until the feature is complete, with changes withheld from the shared codebase. The tradeoff is explicit: isolation prevents early detection of problems and discourages refactoring, and weak refactoring lets codebase health deteriorate badly. Severity depends on the feature's cycle. A feature finished in a day or two can be integrated often enough that isolation costs little. Work that runs for weeks or months meets far more trouble.

The source does not ban feature branches. Fowler notes that the approach suits open source development, and his argument is about the length of isolation rather than the existence of the branch. A short-lived feature branch and a month-long one share a name but not a risk profile, which is why arguments about the name alone tend to go nowhere.

What the DORA page found, and what it did not

DORA's trunk-based development capability page shows no version number. It frames the difference between the two modes as scope: feature branches often involve several people and last days or weeks, while trunk-based branches typically last no more than a few hours, with developers merging small batches to the trunk at least once a day and possibly several times. Long branches produce larger and more complex merges, extra stabilization work, and code lock or code freeze periods, because big merges tend to introduce bugs or regressions and need thorough testing and fixes afterward.

The page cites 2016 and 2017 report data: repositories with three or fewer active branches, at least one merge to trunk per day, and no code freezes or integration stages scored higher on delivery speed, stability, and availability. These are descriptive results from observational survey data, not a randomized controlled experiment, not hard thresholds, and not a causal law. Reading them as a pass/fail bar turns a correlation into a promise the research never made.

The same page names heavyweight review as a common trap. Reviews that require multiple approvals and take hours or days push developers toward larger batches, which makes reviewers even less willing to take on big reviews. Asynchronous review lengthens the wait and raises conflict odds. Synchronous review requires the team to agree on prioritizing the review of colleagues' code over other work. Review latency and batch size therefore sit at the level of team agreement; tool configuration alone cannot settle them.

ProtocolBranch lifetimeWhere risk surfacesFits best when
GitFlowTwo long-lived lines plus short-lived support branchesRelease and hotfix preparationExplicit versions or several versions in the field
GitHub flowShort branches off the default branchAt each pull requestWeb delivery without a fixed release train
Feature branchingUntil the feature is completeAt the final mergeWork that benefits from isolation
Trunk-basedHours, with daily small mergesIn small, frequent integrationsReviews stay fast and small

Choosing a protocol is a negotiation

The choice depends on versioning and multi-version support. The name printed in a diagram does not decide it. What determines integration quality is the shared agreement on batch size, review latency, and merge frequency. Long branches concentrate conflict, regression, and review cost on merge day instead of letting daily small integrations find them while the work is still small. Neither outcome is guaranteed by the branch name; the protocol simply decides when the bill arrives.

None of the four sources gives mini program or super app numbers for branch count, pull request size, integration frequency, or merge duration. The gap is worth stating plainly. What transfers is the way to reason about the agreement, and the research does not supply a ready-made threshold for any particular codebase.

Cross Mini App keeps the shared runtime on short-lived branches so integration happens while the change set is still small, with review speed treated as a team commitment rather than a hope.

Sources