Every merge request got its own copy of the platform
Platform architect, as an outside expert or on your team. Let’s talk
In April 2026, 53 merge requests from 8 developers were waiting to be tested at the lending fintech I work for, with nearly 1M users. They waited on six shared staging environments (stages, for short), and two of them could take a deploy. Within the month every merge request got its own copy of the whole platform, built from scratch, and the dedicated test clusters were shut down.
How six stages made a batch
Six stages for eight people means everyone tests on top of everyone else. One broken change holds up everyone on that stage. They keep coding in the meantime, so by the time the stage works again there is a pile of changes to test, not one.
By 2026 we had continuous delivery for the code, but the shared stages kept the queue alive.
What each merge request gets
Each merge request now starts its own isolated copy of the platform: the 40+ services, the BPMN engine, the queues and the frontends. External providers are mocked and the database is seeded, so every stack comes up from the same definition and shares nothing with the next merge request.
Two things made it possible in a month. Since February the platform had one CI/CD pipeline with a base Helm chart. And deploys were versioned by content, so code that did not change was not deployed again.
I had done a smaller version before. At Orthosnap, a US SaaS used daily by 2,000+ clinics, starting test stages on demand cut the integration pipeline from 40 minutes to 8.
The test clusters switched off
The dedicated test clusters went: 14 nodes, 3 Aurora and 3 MSK. Each stack lives only while its merge request is open. Changes stop waiting for a stage, so they stop piling up into batches, and each merge request goes to production on its own.
What the agents got
The same stacks let our coding agents test what they build. An agent opens a merge request, brings up its stack, walks the flow in a browser and reports what it saw. Without a stack it could only read the code. With one it checks the change like a tester would, and no person has to give up a stage.
What to copy
- Count the queue, not the stages. 53 waiting merge requests said more than the count of stages.
- Get to one pipeline first. Per-merge-request stacks took a month because that was done.
- Give every change its own copy, and the agents the same.