The rollback gap is the one I would make a hard NO-GO, because an untested down path on a schema change is the only failure in that list you cannot quickly fix forward. A cheap check is to run the previous release's tests against the migrated schema in CI, which tells you whether old code still works if you have to roll back.
A Green Pipeline Is Not a Release Decision
14 Comments
@[inevolin]
Agreed, with one line drawn: if the migration is destructive (a drop or rename the old code still reads) and the down path is untested, that's a hard NO-GO. You can't fix forward out of data the old version can't read.
If the migration is additive, the expand step of your expand/contract point from my on-call post, rollback is safe by design and I'd still allow a CONDITIONAL GO.
Running the previous release's tests against the migrated schema is the cheapest way to tell which case you're in. Mike suggested the same gate under the on-call article, which tells me it's more common practice than I thought.
Please log in to add a comment.
The conditions in a CONDITIONAL GO are where I'd add one field. Your example record says "manual verification after 10% rollout", but nothing in it shows whether that verification happened, so a week later the record reads the same either way. I'd give each condition an owner and a deadline, and mark it met, missed or open. A condition still open past its deadline should notify the release owner, because at that point the release is running as a plain GO that nobody approved.
The same goes for "payment failure alert enabled". The evidence for that is a test alert that reached the on-call channel, not the setting being switched on. It's the trap you described in the other thread, where not executed quietly turns into passed, just moved to after the deploy.
@[Mike Dabydeen]
That's a real hole in my example record, and you're right about why it matters. A condition without an owner and a deadline is a wish, and a week later nobody can tell "verified" from "forgotten". Owner, deadline, and met / missed / open is the minimum. An open condition past its deadline escalating to the release owner is the part I'd make non-negotiable, because otherwise a CONDITIONAL GO silently becomes a GO nobody signed.
The alert point is the one I'll steal for the checklist: evidence for "alert enabled" is a test alert that reached the on-call channel, not a toggle in the settings. Same trap, just moved past the deploy, as you said.
Do you track those conditions in the release ticket itself, or in a separate place the on-call person can see?
@[JankoD84] The release ticket holds the record, and on-call gets a view of whatever is still open. I wouldn't keep a second copy, because the copy on-call reads is the one that goes stale.
The view I'd use is the deploy annotation on the service dashboard. When an alert fires at 2 a.m., on-call opens the dashboard, not the ticket. If the marker for that deploy says "CONDITIONAL GO, 1 open: manual verification after 10% rollout" with the owner, the due date and the ticket ID, the first question on-call has gets answered straight away: is this alert about something we already agreed to watch? A small job that rewrites the annotation whenever the ticket changes keeps the two in step.
@[Mike Dabydeen]
That closes the loop nicely. The ticket stays the single source of truth, and the deploy marker is just a projection of it, rewritten by a job, so nobody maintains two copies by hand.
It also changes what the on-call person can do at 2 a.m. "Is this alert something we already agreed to watch?" is a much faster first question than "what changed?", and the annotation answers it without opening Jira.
This is going into the next version of my on-call kit: deploy markers that carry the release verdict plus any open CONDITIONAL GO conditions (owner, due date, ticket), synced from the release record. I'll credit you in the changelog.
When a condition gets closed, do you update the marker in place, or keep the old state visible as history on the dashboard?
@[JankoD84] I'd keep the history, because the moment a condition closed is the part you need later. In a postmortem one of the first questions is whether the incident landed while a condition was still open, and an in-place update erases that answer.
What I'd do is leave the deploy marker as it was written at release time and draw each condition as its own region annotation. Grafana annotations take a time and a timeEnd, so the sync job starts the region at the deploy and keeps moving timeEnd forward while the condition is open. When it's met or missed, the job sets the final timeEnd and adds the outcome and the ticket comment that closed it. On-call sees an open condition as a band that's still running, and anyone reading the dashboard a month later can see exactly how long the release ran on it.
@[Mike Dabydeen]
That's the cleanest version of it. The deploy marker stays immutable as "what we decided at release time", and each condition becomes a region from deploy to resolution. "Did the incident land inside an open band?" then becomes something you can see on the graph instead of reconstructing it from ticket history in the postmortem.
Using time/timeEnd also means the sync job only ever moves one field while the condition is open, and writes the outcome once when it closes. Simple enough that people will actually keep it running.
I'm putting exactly this into the on-call kit update next week: immutable deploy marker, one region annotation per CONDITIONAL GO condition, and a postmortem question that checks whether the incident started inside an open region. Would you be up for a quick look at the draft before I publish it? You've shaped half of it already.
Please log in to add a comment.
I like the CONDITIONAL GO framing. In my Azure and Kubernetes releases, the gap I check first is whether the deployed artifact is the one that was tested and whether the flag actually exists in the target environment. A green pipeline can still ship the wrong image or a Terraform plan that was never applied to prod.
@[manojkagitha]
Both of those are evidence checks I'd put on the release record, not things to assume from a green run.
Artifact identity: the digest you deploy should be the digest you tested. If those differ, nothing the pipeline said is about what's in prod.
Flag existence: "flag off" only means something if the flag exists in the target environment. A missing flag often behaves like "on" or throws, depending on the SDK default.
Terraform is the same story, plan vs. applied. A plan that never ran in prod is a not-executed check, not a passed one.
Do you compare digests automatically at deploy, or is it a manual check today?
Please log in to add a comment.
@[Mara Hollis]
Agreed, and "riskiest code paths" is the key part. Smoke checks are usually written for the paths that are easy to test, not the ones that would hurt most if they broke: payment, auth, migrations, anything with external money or data.
The fix I like is boring: list the 3–5 paths that would cost the most if they failed, and make the release record say for each one whether it was executed, passed, or not checked. A green smoke run that never touched checkout is "not executed" for checkout, not "passed".
Which path in your releases tends to be the one nobody actually tested before the rollout?
Please log in to add a comment.
@[glnr]
Thanks, glad it's useful. "Green, so we shipped" is probably the most common release decision nobody actually made.
When it went wrong for you, what was missing: a test that never ran, a config or migration the pipeline didn't cover, or something that only showed up under real traffic?
If it helps, I keep a free one-page release checklist built around exactly that gap: https://payhip.com/b/5gNT7
Please log in to add a comment.
Please log in to comment on this post.
More Posts
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- You Tube
- Tiktok
- Premium Subscription
- Terms of Service
- Early Builders
More From JankoD84
Related Jobs
- Senior Release Engineer42dot · Full time · South Korea
- Release ManagerEpic Games · Full time · Canada
- Senior DevOps Engineer (CI/CD Pipeline)42dot · Full time · South Korea
Commenters (This Week)
Contribute meaningful comments to climb the leaderboard and earn badges!