Updated November 10, 2026
Wave-based cutover: how to size waves and soak windows
Every mid-sized DevOps migration cuts over in waves. How to size the waves, what the soak window actually measures, and the sequencing rules that decide which repositories go first and which go last.
Update, November 2026. We removed statements about how many migrations and full retreats we have seen, which were presented as observed data without a citable source. The wave sizes, soak windows, and cadences in this post are planning estimates that depend on the estate; validate them on your first waves.
Every migration of any size cuts over in waves. The thousand-repo big-bang cutover is a reliable way to spend a weekend discovering what the pre-migration audit missed, and the audit never catches everything. The wave model trades a longer total elapsed time (weeks or months rather than a single weekend) for recoverability: when wave three surfaces a defect, waves four through twelve are not yet live and the defect fixes itself out of the plan.
The question is not whether to use waves. The question is how to size them: how many repositories per wave, how long between waves, which repos go in wave one, which go last, and what you measure during the soak between waves to decide the next move. The answers are not obvious and the defaults vary by estate shape. This post is the set of rules we apply when planning a cutover, the numbers we start from, and the signals that tell us the plan is wrong. The numbers are planning estimates that depend on the estate; validate them on your first two waves.
TL;DR
- 50 to 150 active repositories per wave is a reasonable planning band for mid-sized estates. Smaller is wasteful; larger is unobservable.
- The soak window measures real daily load (pushes, pull requests, CI runs, deploys) on the new platform. Five business days for the first two waves, three for later waves if the first two were clean.
- Wave one is a learning wave, not a production wave. Pick 10 to 30 repos owned by one engaged team, mixing activity levels.
- Sequence by risk, ascending. Tier-zero and highest-blast-radius repos go in the last third, never the first.
- Soak metrics are developer-productivity signals (push success rate, CI pass rate, PR merge latency) plus platform signals (webhook delivery, permissions errors). All measured against pre-cutover baselines.
- Cadence beats speed. Plan two waves per week for a six-month program; four per week is a pace that burns out the engineers running cutover.
- Rollback criteria are written before wave one ships, not negotiated in the middle of a bad Monday.
What a wave actually contains
A wave is not just a set of repositories. On our runbooks a wave is a bundle of: the repositories themselves, their CI pipeline cutover (new platform, new runner topology, new secrets wiring), the branch protection and ruleset bulk-apply, the CODEOWNERS generation and commit, the webhook reconfiguration for downstream integrations (Jira, PagerDuty, Slack, Datadog, bespoke internal services), and the DNS or redirect update that sends git clone traffic to the new remote.
All of those move together. A wave that moves repositories but defers webhook reconfiguration to a later step is not a wave; it is a half-cutover that produces unsolvable debugging sessions. If something in the bundle cannot ship with the wave, the repos stay in the previous platform until it can.
The practical consequence: wave sizing is bottlenecked by whichever workstream has the lowest throughput. If pipeline rewriting takes three days per repo at your current staffing, a 100-repo wave cannot ship in a two-week cycle. The repo count that looks right on paper has to pass the bottleneck check.
Sizing: how many repos per wave
Planning ranges by estate scale and repo activity profile:
| Estate size | Total repos | Repos per wave (active) | Repos per wave (archive) | Waves to complete |
|---|---|---|---|---|
| Small | Under 500 | 30 to 80 | 100 to 200 | 5 to 10 |
| Mid | 500 to 5,000 | 50 to 150 | 200 to 500 | 15 to 40 |
| Large | 5,000 to 20,000 | 100 to 250 | 500 to 1,000 | 40 to 100 |
| Very large | Over 20,000 | 150 to 300 | 1,000 to 2,500 | Multi-track, measured in quarters |
Ranges are planning estimates, not measured results; validate them on your first waves. Archive repos are repositories with no push in 180 days and no open pull request; they soak cheaply because almost nothing breaks on them.
Three adjustments to the defaults. One: if the migration tool is doing most of the mechanical work (GitHub Enterprise Importer, GitLab's direct transfer, a custom script with high test coverage), plan for waves 20 to 30 percent larger, because the manual-work bottleneck is smaller. Two: if the target platform's rulesets, CODEOWNERS, and environment protection are not yet validated on a canary, cut the first wave to a quarter of the plan size and treat it as a dry run. Three: if the source platform is end-of-life and the deadline is fixed (the end of support for the Bitbucket Data Center release you run, a vendor sunset, a regulatory date), lane the archive repos in parallel and front-load their waves; archive repos are the cheapest way to burn down the count against a deadline.
The failure mode: picking a wave size based on calendar math (total repos divided by target weeks) rather than throughput and soak. That math produces 400-repo waves that nobody can observe and nobody can hotfix inside the soak window. Pick the wave size from the bottleneck, then calculate the duration; do not reverse that order.
Soak window: what you measure, how long
The soak window is where the wave is proven or disproven. Five business days for the first two waves is our default, three for later waves if the first two were clean. The reason for five is not arbitrary: a working week contains Monday morning pushes (when first-push failures show up), Friday afternoon deploys (when change-aversion peaks), and the middle three days of normal flow. Each of those windows exposes different defects, and compressing out any of them is a false saving.
What we measure during the soak, baselined against the two weeks before the wave:
| Metric | Baseline source | Alert threshold | What it catches |
|---|---|---|---|
| Push success rate | Platform audit log | Below 98 percent | Permissions, LFS, hook misconfiguration |
| PR open-to-first-review time | Platform API | Over 1.5x baseline | CODEOWNERS routing broken, team sync lagging |
CI pass rate on main |
CI platform | Below baseline by 5 points | Pipeline translation bugs, runner capacity |
| CI job duration (p95) | CI platform | Over 1.3x baseline | Runner topology, cache misconfiguration |
| Webhook delivery success | Integration platform logs | Below 99 percent | Webhook URL drift, auth token issues |
| Deployment success rate | Deployment platform | Below baseline by 2 points | Environment protection, secret rotation |
| Developer-reported incidents | Support channel ticket count | Over 2x baseline | Everything the metrics missed |
Thresholds are starting points, not absolutes. Repositories with low pre-migration push volume naturally produce noisier push-success numbers; the baseline comparison is what matters, not the raw percentage.
A clean soak means every metric is at or near baseline for five business days. A degraded soak means one or two metrics are red but the root cause is isolated to the wave; fix it, extend the soak by two days, decide. A failed soak means multiple metrics are red or a single metric is severely red; pause further waves, root-cause, decide between a hotfix forward or a rollback of the wave.
The hidden rule: nobody skips a soak window because things are going well. Confidence is not a reason to compress. If the first two waves were clean, the system is working; the way to keep it working is to let the third wave soak the same amount. Three successful soaks in a row is the earliest we shorten anything.
Sequencing: wave one versus wave last
Wave one is a learning wave. The repositories picked for wave one are the ones that will teach the migration team what is broken before the stakes get high. The pattern we use:
- Ten to thirty repositories, not more.
- Owned by one engaged team (a platform team, a developer-experience team, or an internal-tools team that will file useful bug reports rather than quietly working around issues).
- A mix of activity levels: two or three high-activity repos (daily pushes), five to ten medium-activity repos, the rest low-activity.
- At least one repo per CI pipeline shape in the estate (Node, Python, JVM, container builds, whatever categories matter).
- No tier-zero production services. Nothing on the critical release path. Nothing whose outage would page a VP.
Wave last contains the repositories you would never pick for wave one. Tier-zero services, the repositories with the most downstream consumers, the repositories whose CI gates production releases, the repositories with the most complex secret topology. By wave last the migration team has learned most of what there is to learn, the tooling has been hardened across dozens of waves, and the remaining risk is isolated to the specific repo rather than systemic.
The middle waves are sequenced by a rough "blast radius" ranking: how many downstream repos consume this one, how many deployments depend on it, how many teams would notice if it were broken for an hour. Low blast radius goes in the early-middle waves (three through seven); medium blast radius in the middle (eight through two-thirds of the way through); high blast radius in the late waves.
The reversal failure is expensive. Running wave one with the biggest production service "because it's the one that matters" packs all the migration-team learning cost into the single wave that cannot afford to fail. The learning still happens; it just happens on a tier-zero outage.
Cadence: how fast is sustainable
The cadence between waves is set by the soak, not by the calendar. As planning guidance: two waves per week is a pace a team of three to five migration engineers can hold for the length of a program. Three waves per week is a pace to plan for a few weeks at most, because fatigue and quality problems follow. Four or more waves per week is a short sprint, not a schedule.
The cadence we recommend for a six-month program on a mid-sized estate: two waves per week, four weeks on, one week off for retrospective and tooling improvements, repeat. The off-week catches up on the systemic improvements that the per-wave firefighting defers (better soak dashboards, better rollback scripts, improved CODEOWNERS generation, cleaner webhook reconfiguration). Without the off-week, the migration gets slower over time rather than faster, because the team is paying interest on untreated issues.
Enterprise programs with a hard deadline (regulatory, vendor sunset, an expiring Bitbucket Data Center release) sometimes need to run two tracks in parallel: one experienced team on complex waves, a second team on low-risk archive waves. The archive track can be planned at four to six waves per week because the soak is lightweight. Running two tracks requires a coordination overhead; it is worth it only when the deadline math forces it.
Rollback criteria: write them before wave one
The three signals that trigger a rollback, written in the runbook before wave one ships:
- Cross-cutting defect. A failure mode that reproduces across multiple repositories in the wave, cannot be hotfixed within the soak window, and would be masked rather than fixed by moving forward. Permissions misconfigurations, webhook misrouting, CODEOWNERS bulk-apply errors, and secret-propagation failures are the common instances.
- Developer-productivity drop over 20 percent sustained across two consecutive waves. Measured as PR merge latency, push-to-deploy time, or developer-reported productivity in the quick survey we attach to the soak. One wave with a bad number is noise; two is a signal that the new platform's defaults are wrong for this estate.
- Security or compliance finding that the target platform does not yet satisfy. This is rare but it happens: an audit discovers that a required control (SOX separation of duties, FedRAMP boundary) is not configured correctly on the new platform. Rollback the affected wave, fix the control, test, re-cutover.
The first signal pauses further waves while the fix lands; the already-live waves usually stay live if the hotfix works. The second two trigger a rollback for the affected wave. A full retreat across many waves should be the exception; the realistic trigger is a compliance finding that the target platform cannot resolve on the timeline.
The rollback plan has to be a real plan with scripts, DNS reversal, webhook reconfiguration, and a dry-run on a canary. A rollback that is "we'll figure it out when we need it" is a rollback that does not happen, and the wave gets fixed forward whether or not forward is the right direction.
Common failure modes
Three patterns the sizing rules above are designed to prevent:
- Big-bang-by-stealth. Program leadership agrees to waves on paper, then schedules the first wave at 800 repositories because the vendor sunset deadline is approaching. The soak is unobservable, the first-week-after-migration pain grows with the size of the wave, and the migration team spends weeks firefighting instead of running further waves.
- No-soak waves. Waves cadence set at daily, with soak collapsed to "the metrics look fine by lunchtime." Systemic defects (a webhook misconfiguration, a wrong default branch rule) propagate through five waves before anyone notices. Repair cost scales with the number of waves the defect has touched.
- Wave-one-is-tier-zero. The highest-stakes service goes first, "to prove the platform works for the hard cases." It does not prove anything if it fails, because the migration team has not yet accumulated the operational knowledge to tell a systemic problem from a service-specific one. The failure is attributed to the service, the service is rolled back, and the migration loses trust that takes months to rebuild.
Each failure mode is cheaper to prevent at planning time than to recover from mid-program. The sizing rules above are what prevents them.
How Shyftport handles this
Wave planning is one of the artefacts we produce in a migration program: a written wave schedule per estate, with repo lists, soak metrics and thresholds, rollback criteria, and the cadence baked in. We size the first two waves conservatively (closer to the lower end of the ranges above), run the soak the full five days, and only widen later waves when the first two confirm the plan is working. If your migration is in the planning stage and the wave schedule has not been written, or you are mid-program and the soak has quietly collapsed to a day, talk to a Shyftport engineer and we will pressure-test the plan against the estate.
Sources
- GitHub Enterprise Importer documentation(accessed 2026-10-10)
- Azure DevOps migration guide(accessed 2026-10-10)
- Atlassian Bitbucket Data Center migration documentation(accessed 2026-10-10)
FAQ
- How big should a migration wave be?
- For mid-sized estates (500 to 5,000 repositories), 50 to 150 active repositories per wave is a reasonable planning band (a planning estimate that depends on the estate; validate it on the first two waves). Smaller than 50 and the overhead of wave planning dominates; larger than 150 and the soak window becomes unobservable because too many repos change state at once. The exact number depends on repo activity, team count, and how automated the pipeline cutover is. Low-activity archive repos can go in bigger waves (300 to 500) because the soak is cheap.
- What is a soak window, and how long should it be?
- A soak window is the period between a wave going live and the next wave starting, during which the migrated repositories are watched for breakage under real daily load. Our default is five business days for the first two waves (so the full working-week cycle, including a Monday morning and a Friday afternoon, runs on the new platform), then three business days for later waves if the first two were clean. Compressing to one or two days makes it likely that a systemic issue is discovered several waves too late.
- Which repositories should go in wave one, and which should go last?
- Wave one should be low-risk, active-enough-to-be-informative, and owned by a team that can quickly flag issues. Our pattern: 10 to 30 repositories owned by one engaged team, mixing a few active services with their dependencies. Wave last should include the highest-risk repositories: tier-zero production services, repositories with the most downstream consumers, and any repository whose CI is on a critical release path. Reversing this ordering is a classic failure mode: a tier-zero outage in wave one has no learning curve to absorb it.
- When should we abandon waves and roll back?
- Three failure signals: a cross-cutting defect that affects multiple waves (a permissions misconfiguration, a webhook misrouting, a broken CODEOWNERS bulk apply) and cannot be hotfixed within the soak window; a developer-productivity drop over 20 percent sustained across two waves; or a security or compliance finding that the target platform does not yet satisfy. The first signal pauses waves while you fix the root cause. The second two trigger a rollback for the affected wave while the problem is fixed, not a full retreat. A full retreat should be the exception: once a wave is live and the first week is clean, the forward path is usually cheaper than reversing.
Related reading
Azure DevOps to Azure DevOps: process models and mapping work item types, states and fields
Work items only land cleanly in another Azure DevOps organisation if the target process defines their types, states and fields. How the three process models differ, what rule bypass does not do, and a mapping method.
Keeping Azure Boards after moving code to GitHub: AB# links, limits and setup
You can keep Azure Boards when repositories move to GitHub. AB# mentions in commit messages, pull request descriptions and issue descriptions link to work items, a repository connects to one project, and old Azure Repos links stay behind.
Why Bitbucket to GitHub migrations stall, revisited: a year on, what moved and what didn't
Twelve months after the original seven-stall post, an updated field-grade take on where Bitbucket to GitHub programmes actually lose time: pipeline translation, identity, rulesets, OIDC, integration sprawl, LFS, and the audit trail now required to pass a DORA review.