Synchronous Forward Propagation of Commits in N parallel Git Branches

Abstract

Software products supporting multiple customer versions run several Git branches in parallel. A fix landing on one branch must reach a subset of the others. The conventional method is manual cherry-picking, which misses 8 to 12 percent of critical fixes and introduces operational debt surfacing years later as customer escapes. This work presents an automation framework for synchronous forward propagation of commits across N parallel Git branches, an empirical workload equation derived from a two-year operational study, and a 500-event synthetic reference dataset shipped with a deterministic generator. Production deployment shows 85 percent reduction in integration defects, 60 percent improvement in release velocity, and near-zero developer idle time during code freezes.

Downloads

Main paper (PDF)

Title, abstract, 9 sections, references, and four embedded dashboards.

Supplementary (PDF)

11 pages. Implementation detail, follow-up system, analytics, appendices.

Dataset (CSV)

500 synchronous propagation events, fixed seed 42. Used to render every figure in the paper.

Repository (GitHub)

Dataset, rendered figures, and the source of this companion site.

Conceptual Figures

Three conceptual figures support the framework presentation.

Manual cherry-pick versus synchronous propagation framework
Figure 1. Manual Cherry-Pick versus the Synchronous Propagation Framework Same commit, same three release branches, same business intent. The left column relies on developer memory and produces a missed branch, a late landing, and a customer escape. The right column reads ticket metadata, computes targets, and propagates atomically through the framework.
Five-layer framework architecture
Figure 2. Framework Architecture for Synchronous Forward Propagation Five layers stacked on a shared event bus. Input sources at the top feed Layers 1 to 3 (the runtime synchronous propagation path). Layer 4 (analytics) and Layer 5 (follow-up) consume the event bus and emit role-specific dashboards at the bottom.
Sweet spot in the workload equation
Figure 3. The Sweet Spot in the Workload Equation Lever: synchronous propagation latency. Panel (a) shows the multivariate workload surface across the PL-DDF plane with other terms fixed at B=5, C=50, M=0.07, DOC=0.35. Contour labels show normalised workload relative to the sweet-spot baseline. Panel (b) shows workload curves at three DDF levels, illustrating how disorder amplifies the cost of every additional hour of latency.

Dashboards

Four role-specific dashboards drive the framework's data analytics layer. Each dashboard below was rendered from the synthetic reference dataset. The same layouts appear as Figures 4 to 7 in the main paper.

Executive dashboard
Figure 4. Overall Statistics Dashboard (Executive View) Status distribution, synchronous propagation count, success rate threshold band, and daily volume timeline. The view answers four questions at a glance for an executive audience.
Manager dashboard
Figure 5. Detailed Statistics Dashboard (Manager / Lead View) Per-repository status mix, risk profile, lead-time histogram against the SLA cap, and conflict hot spots. Built for managers running week-over-week reviews.
Developer dashboard
Figure 6. Operational Table Dashboard (Developer View) Action-oriented rows with status colour coding and inline actions. The status cell carries the same colour code used across the four dashboards.
Repo owner dashboard
Figure 7. Repository-Wise Dashboard (Repo Owner View) Single-repository drill-down showing health metrics, top contributors, active backlog, and risk mix for the kubernetes repository.
Branch-pair flow visualisation
Figure 8. Branch-Pair Flow Structure in the Reference Dataset Same 500 events as Figures 4 to 7, viewed through the source-to-destination lens. Panel (a) is a Sankey flow with bands sized by event count. Panel (b) is the source-by-destination heatmap with exact counts inside each cell. Panel (c) is the network graph with directed arrows sized by event count. The Sankey shows workload concentration. The heatmap exposes empty cells. The network surfaces the topology.

Workload Equation

The workload equation derived from the two-year operational study:

W = k * (B - 1) * B^alpha * C^beta * ((B - 1) * C)^gamma * M^delta * PL^epsilon * (1 + DDF * DOC)^zeta
SymbolMeaningOperator control
BActive release branchesSet by business
CChanges per branchSet by feature velocity
MMerge conflict coefficientOperational lever
PLSynchronous propagation latencyOperational lever
DDFDegree of disorder factorOperational lever
DOCDependency among open changesOperational lever

Lower PL, DDF, and DOC and the workload stays linear in (B - 1) * C. This is the sweet spot.

Production Results

OutcomeBeforeAfterChange
Integration defects per release182.785 percent reduction
Release velocity (per quarter)5860 percent improvement
Developer idle time during freezes22 percent of sprint< 1 percentNear zero
Missed commit rate9 percent0.08 percent99 percent reduction
P95 synchronous propagation lead time56 hours18 hours68 percent reduction
Conflict rate14 percent4.7 percent66 percent reduction

Reproduce

Every figure on this page is rendered from one file, propagation_events.csv. It holds 500 synchronous propagation events generated deterministically at fixed seed 42. Download it and rebuild the analysis with your own tools, or run your own numbers against the columns described in the paper.

Open Source Validation Roadmap

The 500 events shipped here come from a deterministic synthetic generator. The dataset shows what the math predicts. It does not prove the framework works in production beyond the two-year operational study in the main paper. The 10 repository names in the dataset are illustrative and do not point to any real product.

The next step is to test the framework against open source projects already running multiple parallel release branches with manual cherry-picking. Five candidates fit the shape of the problem and publish enough data to measure the framework's claims without insider access.

ProjectParallel branchesPublic signal
Linux kernel stable LTS lines 5.4, 5.10, 5.15, 6.1, 6.6, 6.12 Greg KH stable reports, Sasha Levin's AUTOSEL miss-rate data
Chromium Milestone branches M120, M121, M122 ... Public dashboards on CL backport landing and lead time
Kubernetes release-1.30, release-1.31, release-1.32 cherry_pick_pull.sh plus labeled backport PRs
PostgreSQL Five major versions in parallel Open git history across REL_15_STABLE through REL_17_STABLE
OpenJDK JDK 17, 21, current main Skara bots track CSR backport status

Three numbers fall out of public data on any of these projects:

Suggested first study. Pick Linux kernel stable. Pull 90 days of fixes from master. Check appearance in two LTS branches. Build the same results table Section 6 of the paper shows. Compare the numbers.

Feel free to take this on. If anyone runs the analysis on one of these projects, send the numbers. The framework predicts specific outcomes. Real OSS data either confirms those numbers or shows where the model misses.

Cite

@misc{sudharshan2024synchronous,
  author = {Hariprasad Sudharshan},
  title  = {Synchronous Forward Propagation of Commits in N parallel Git Branches},
  year   = {2024},
  note   = {Companion repository at https://github.com/brettleehari/SyncForwardProp}
}