Deploy markers drawn on the dashboard save the most time here, because the what-changed step becomes a glance instead of a search through CI history. For the rollback check, an expand and contract migration policy keeps the old code able to read new data, so that box is usually ticked before the incident starts.
The First 5 Minutes of On-call: What I Check Before I Open the Code
11 Comments
@[inevolin]
Deploy markers are the single best upgrade to an on-call dashboard I know of. "What changed?" goes from five minutes of digging to one glance, and in the first five minutes that's most of the budget.
Great point on expand and contract too. If old code can read the new schema, rollback stays a real option instead of a gamble. Without that, "just roll back" during an incident can make things worse.
Do you draw the markers automatically from CI, or does someone annotate them by hand?
@[inevolin]
That's the setup I'd want too. And you're right about the gap: flag flips and config changes are exactly the ones nobody remembers at 2 a.m., because they never show up as a deploy. If the flag tool can send a webhook, it's worth wiring it to the same annotation API so those land on the dashboard automatically as well. Thanks, this thread turned into a better checklist than the article.
Please log in to add a comment.
The rollback check is the step on your list I'd move out of the incident entirely. Each of your four questions has a known answer when the release ships, so the pipeline can work them out once and write the verdict onto the deploy marker: rollback safe, or rollback unsafe with the reason, such as a migration that drops a column the previous version still reads. At 02:21 you then read a label instead of reconstructing a migration history half awake.
The cheapest version I know is a deploy gate that runs the previous release's smoke tests against the database after the new migration has applied. If they pass, the marker says safe. If they fail, you learn before the deploy that this release is fail forward only, which is better to know before anyone gets paged. A test won't settle the side effects question, so I'd add one line to the marker saying whether the release sends anything outward, like emails or payment calls, so the replay check has an answer too.
@[Mike Dabydeen]
This is a great reframe. The rollback check was on my list as a question to answer during the incident, and you're right that it doesn't belong there. Everything it asks is already known when the release ships, so asking it at 2 a.m. is the most expensive moment to find out.
Running the previous release's smoke tests against the migrated database is a neat trick. It turns "is rollback safe?" from an opinion into evidence, and when it fails you've learned the release is fail-forward only while that's still cheap to know.
The outward side-effects line is the part I'd have missed. Rolling back code doesn't un-send an email or un-charge a card, so knowing that up front changes the whole response.
Do you put the verdict on the deploy marker itself, or in the release notes the marker links to?
@[JankoD84] On the marker itself, as two short fields, with the release notes linked for the detail. The marker is what's already on the graph at 2 a.m., and every click between the spike and the verdict is a click someone skips when they're tired. If you're on Grafana, the same CI job inevolin described can attach them as annotation tags, something like rollback:safe or rollback:unsafe plus outbound:yes, which also lets you filter a dashboard down to only the risky releases.
One rule I'd add: if the gate didn't run, the marker should say rollback:unknown rather than leave the field empty. An empty field gets read as safe, and the releases that skipped the gate are usually the hurried ones.
@[Mike Dabydeen]
rollback:unknown is the rule I'm stealing. An empty field reads as "safe", and the releases that skipped the gate are exactly the ones that need the warning most. It's the same trap as a green pipeline where half the checks were skipped: "not executed" quietly turns into "passed".
The annotation tags are a nice touch too. Being able to filter a dashboard down to rollback:unsafe and outbound:yes turns the marker from a note into a query.
@[Mike Dabydeen]
This thread pushed me to write up the "evidence, not confidence" side of release decisions, including your point about answering rollback safety at release time instead of during the incident: https://coderlegion.com/35947/a-green-pipeline-is-not-a-release-decision
Please log in to add a comment.
To answer the question about markers, ours come automatically from the release pipeline, with the commit and the Terraform version on the marker. That is what makes the what-changed step ten seconds. The rule I would add is the one about no quick fixes by hand in production, because a manual kubectl edit during an incident is the change that never makes it back into Terraform.
@[manojkagitha]
Ten seconds is exactly the bar. Putting the Terraform version on the marker next to the commit is smart, because half the "nothing was deployed" incidents I've seen were infrastructure changes nobody thought of as a deploy.
The no-hand-fixes rule is a good one. The manual kubectl edit is the change that fixes tonight and breaks the next deploy, when Terraform quietly puts the old value back.
The one exception I'd make: sometimes a hand change is the fastest mitigation. When it is, I'd post it in the incident channel the moment you make it, and make "reconcile manual changes back into Terraform, then run a drift check" a required step before the incident is closed. That way the shortcut has an expiry date.
Do you enforce it with permissions, or is it a team agreement?
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
- Java developer ( 18 Open positions )System Canada Technologies · Full time · New York, NY
- New Service Site Opening - Hiring Service Technicians, AlburyTesla · Full time · Australia
- AI & Machine Learning Engineering Consultant - Databricks - Manager - Consulting- Location OPENEY · Full time · Charleston, WV
Commenters (This Week)
Contribute meaningful comments to climb the leaderboard and earn badges!