Whoever accepts a feature should be able to ship it
Michiel Kooiman
—
Engineering

Written by
For years, the people who knew whether a feature was ready were not the people who could take it out of a release. The product owner could reject a feature on acceptance, but only a developer who knew the git history could remove it, by hand and under time pressure. We changed that: whoever accepts a feature now decides whether it ships, and releases stopped being a big deal for our developers.
Why one unfinished feature held back the rest
We used git flow with a branch per environment. A finished feature was merged into develop, develop moved to acceptance, and acceptance moved to production. That works until one feature is not ready.
Once a feature landed on develop, a release was all or nothing. Everything moved to production together, so one feature that failed acceptance held back every other one. The way out was a revert: by hand, under time pressure, by the one developer who knew the history well enough.
Four rules that put the decision with the owner
The fix was not a tool. It was four rules.
- Every release starts from production. Not from a development branch, and never by reverting. If a feature has to go, we build a new candidate without it.
- What was tested is what ships. The exact commits and images accepted on acceptance are the ones promoted to production, unchanged.
- A feature ships only when its owner accepted it. Features stay on their own branches until a release picks them, so one unfinished feature no longer holds the others back.
- People decide, the machine does the work. Merging, database snapshots, pipelines and bookkeeping are automated. Accepting, approving and deploying to production stay with people.
The first rule carries the rest. Because every release starts from production, leaving a feature out is never a revert. It is simply a new candidate without it.

What a release looks like now
The product owner, or a release manager, runs a release in six steps. Developers own their feature branches and only step in when something needs a second look. An approver does the final merge into production.
- Pick. Tick the finished features and drag them into merge order.
- Build. The release is built from production with those features merged in.
- Check. CI builds and tests the candidate.
- Deploy to acceptance. The acceptance databases are snapshotted first, so we can always go back.
- Accept. The product owner accepts or rejects each feature. A rejection means a new candidate without it, and back to step 2.
- Promote. The approver merges exactly the tested commits into production, backs up its databases and deploys.

Customers often want to see a feature before it is finished. Under git flow that meant merging it into develop, and from that moment it was on its way to production. Now we build a preview instead: production plus the features we want to show, on its own environment with its own copy of acceptance data. A preview can never be accepted or promoted, so nothing on it reaches production, and a migration that turns out wrong is simply dropped from the branch.
Hotfixes go through the same build and checks. They may skip acceptance only when an approver confirms it by typing the version, and that choice is logged. Every step of every release is recorded: who built, accepted, approved and deployed what, with the exact commits and images.

The portal makes the rules cheap to follow
Rules bend on a busy release day unless following them is the easy option. So we built a Release Portal that turns the workflow into buttons. GitLab CI still does the deploying; the portal decides what gets deployed and keeps the record.
The hardest part to automate was merge conflicts, the reason releases needed an expert in the first place. An AI agent now resolves them, inside clear limits:
- Cheap first. If both sides only added lines, the worker merges them mechanically. Simple cases go to a cheaper model, real code clashes to the strongest one.
- Verified every time. After each attempt the agent runs the build and tests. It tries up to three times, and otherwise stops and asks a person.
- Solved once. Resolutions are remembered and reused, and a developer can always look one over before it ships.
- Boxed in. No network beyond the model API and package registries, no cluster credentials, and it never touches database migrations.

The release manager presses Build, and nobody has to sit down and untangle conflicts.
What changed for developers
Developers are hardly involved in releases anymore. They finish a feature on its own branch, and the release manager takes it from there: no release branch to prepare, no conflicts to untangle on release day, no reverts when a feature is not ready.
A feature with issues is cut cleanly: it is left out of the next candidate and the rest of the release goes ahead. That only works when the feature stands on its own. If another feature was built on top of it, both go out together. The portal shows those dependencies, which brings a welcome side effect: real pressure to keep features independent.
Four production releases have gone through the portal since early October. Most of their problems came from outside it, in long-running pipelines and manual deploy steps, not in the merging or the agent. A person still accepts each feature, approves the merge into production and starts the deploy.
Try it on your last release
Look at your last release and ask two questions. Who decided each feature was ready? And who could have taken it out? If those were different people, that gap is where your release day went. Closing it starts with the first rule: build every release from production, so leaving something out never means a revert.
