Polyrepo Tax Report

4 repos (ui-lib, web-app, admin-app, docs-site) · 2025-11-01 → 2026-11-01 (365 days) · $100/dev-hour · USD 0.008/CI-minute

Polyrepo tax per year, expected
$4,072
$1,471 – $4,072 depending on which bugs you count
Developer time (window)
41 h
$4,070
CI time (window)
225 min
$2 · assumed
Bugs attributable to repo boundaries
4
1 high · 3 medium · 0 low confidence
Migration payback
23.6 months
$7,600 one-time · saves $3,862/yr

Migrating the coupled repos pays back in about 23.6 months at the expected estimate.

Estimates from git history, not invoices. Every count links to commits below; every rate and assumption is listed at the end and can be overridden.

Where the money goes

Annualized cost per driver, expected scenario. Hover or focus a bar for hours and CI minutes.

Bugs · duplicated-fix
$1,000
Bugs · dependency-regression
$800
Bugs · post-bump-fix
$800
Bugs · fix-propagation
$800
Changes coordinated across repos
$200
Same tooling/dependency maintenance repeated per repo
$200
Internal releases consumed by sibling repos
$150
Internal dependency bumps
$120
Table view
Cost driverEventsDev hoursCI minutesCost (window)AnnualizedMonorepo removes
Internal dependency bumps31.245$120$120100%
Internal releases consumed by sibling repos31.545$150$150100%
Changes coordinated across repos1215$200$20075%
Same tooling/dependency maintenance repeated per repo1230$200$200100%
Bugs: dependency-regression1815$800$80090%
Bugs: post-bump-fix1815$800$80090%
Bugs: fix-propagation1815$800$800100%
Bugs: duplicated-fix11045$1,000$1,000100%
Bugs: cross-repo-fix000$0$050%
Total40.7225$4,072$4,072$3,862/yr

Scenarios

ScenarioBugs countedWindow costAnnualizedAnnual savingsPayback
lowhigh confidence only$1,471$1,471$1,34168 mo
expectedhigh + medium$4,072$4,072$3,86223.6 mo
highhigh + medium + low$4,072$4,072$3,86223.6 mo

Bugs attributable to repo boundaries

highdependency-regressionweb-app rolled back @acme/ui ^2.0.0 → ^1.1.0web-app

An internal release broke a consumer after it shipped. In a monorepo the producer change runs the consumer's tests before merge.

  • web-app@3f66365afc 2026-03-05 Revert "chore: bump @acme/ui to 2.0.0"
mediumduplicated-fixfix: date parsing in timezone offsetsui-lib, web-app, admin-app

The same fix was applied in 3 repos: duplicated code, or a shared contract that has to be fixed everywhere.

  • ui-lib@63bbf03f8b 2026-04-10 fix: date parsing in timezone offsets
  • web-app@c269396291 2026-04-11 fix: date parsing in timezone offsets
  • admin-app@e993c0a699 2026-04-12 fix(date): date parsing in timezone offsets
mediumpost-bump-fixfix: adapt checkout to @acme/ui Button APIweb-app, ui-lib

Fix landed 2 days after web-app bumped @acme/ui ^1.1.0 → ^2.0.0 and names that package.

  • web-app@d56547a5d4 2026-03-10 chore: bump @acme/ui to 2.0.0 with Button migration (context)
  • web-app@1938bd7e0e 2026-03-12 fix: adapt checkout to @acme/ui Button API
mediumfix-propagationfix: pick up money rounding from ui 2.1web-app, ui-lib

The fix reached web-app only after a release of @acme/ui and a version bump.

  • web-app@2dcff72d1f 2026-06-05 fix: pick up money rounding from ui 2.1

Internal dependency churn

Internal bumps
4
1 by bots · 3 by people
Internal releases to move code
3
packages consumed by sibling repos
Median release → bump lag
3 days
time a consumer runs old code
Consumers behind today
1
1 a major version or more
Internal packageProducerConsumersBumpsReleases
@acme/uiui-libweb-app, admin-app43

Version skew today

Duplicated and coordinated work

Migration

Recommended tooling: pnpm workspaces + Nx or Turborepo (js/ts 10 files)

Why migrate

The polyrepo costs monorepo.tools lists, shown only where this report measured them.

Tool options

Every tool compared on monorepo.tools/compare (snapshot 2026-11-26). The rating and every column up to “not supported” come from monorepo.tools, which is published by Nx; the last column is from independent sources and is not scored.

Toolmonorepo.tools rating /10FastUnderstandableManageableAI Supportimplement your owncommunity providednot supportedFitAlready usedIndependent signals (not scored)
Nx9.57/82/25/55/5001yes—State of JS 2024 satisfaction 65% (84% in 2021)
State of JS 2025 regular use 1,682
Thoughtworks Radar Trial (Oct 2021, archived)
moon moonrepo6.54/82/24/53/5016yes—State of JS 2025 regular use 23 (write-in)
Lerna maintained by the Nx team5.57/82/21/51/5207yes—State of JS 2024 satisfaction 33% (59% in 2021)
State of JS 2025 regular use 794
Pants Pants Build5.56/81/24/50/5414yes——
Bazel Google5.05/81/24/50/5532yes——
Gradle Gradle, Inc5.06/81/22/51/5523yes—Thoughtworks Radar Adopt (May 2013, archived)
Rush Microsoft5.04/81/22/53/5307yes—State of JS 2024 satisfaction 42% (59% in 2021)
State of JS 2025 regular use 74
Turborepo Vercel4.04/82/21/51/5219yes—State of JS 2024 satisfaction 77% (87% in 2021)
State of JS 2025 regular use 1,718
Thoughtworks Radar Trial (Apr 2025, archived)
Lage Microsoft3.04/81/21/50/53011yes——

Sources

Clusters to migrate, heaviest first

  1. admin-app, ui-lib, web-app coupling weight 25

Keep separate (no measured coupling): docs-site

One-time effort: ~9.5 dev-days ($7,600) for 3 repos · payback ~23.6 months (range 23.6 – 68 months)

Coupling between repos

Repo pairInternal depsBumpsCoordinated changesBugsWeightRepeated tooling (not weighted)
ui-lib ↔ web-app1513171
admin-app ↔ ui-lib100151
admin-app ↔ web-app000131

External dependencies to align first

External dependencyMajors in use
reactv17 (admin-app) · v18 (ui-lib, web-app)

Migration plan

  1. Target layout and tooling — pnpm workspaces + Turborepo: packages/ui (from ui-lib), apps/web (from web-app), apps/admin (from admin-app). docs-site stays in its own repo: no shared packages, co-changes or shared bugs in the window.
  2. Phase 0 — prepare (no repo moves).
  1. Phase 1 — import with history. ui-lib first, then web-app and admin-app, each with git subtree add --prefix=<dest> <repo-url> main.
  1. Verify — run monorepo-doctor on the new monorepo, then monorepo-boundaries-cleanup for what it finds.
PhaseReposEffort
0admin-app0.5 dev-days
1ui-lib, web-app, admin-app9 dev-days

Risks: CI capacity during the transition, mistakes in the history import, and ownership of packages/ui.

Assumptions

AssumptionValue
bumpHumanHours0.5
bumpBotHours0.2
releaseHours0.5
coordinationHoursPerExtraRepo2
duplicateChangeHoursPerCopy1
bugHours8
ciMinutesPerCommit15
bumpFixWindowDays7
groupWindowDays14
similarity0.75
migrationDaysPerRepo3
migrationDaysPerConflict0.5
monorepoToolingMonthly0
developerHourly$100
ciPerMinuteUSD 0.008
RepoCommitsStackCI min/commitCI source
ui-lib8—15assumed
web-app11—15assumed
admin-app3—15assumed
docs-site3—15assumed