Five Lines on the Till Roll: What Every Deploy Should Be Able to Prove
Photo: SunOfErat, CC BY-SA 4.0, via Wikimedia Commons
Next time you buy a coffee, look at the bit of paper they hand you. Item, price, VAT, time, a store number, and a line telling you how to return the goods. Five or six lines doing an enormous amount of quiet work: proving the transaction, identifying who handled it, and telling you how to undo it.
Now look at the average release note. A link to a compare view, a list of merge commits labelled fix: stuff, and a headline shouting "v2.4.1 — performance improvements and bug fixes". Nobody can tell what changed, who approved it, or what happens if it needs to come out at 2am.
A deploy receipt doesn't need to be longer than the till roll. Five lines, produced every time, will do more for your team than any amount of retrospective archaeology.
Line one: what changed, in English
One sentence a non-engineer could read. "Checkout now shows a delivery estimate before the address step." Add the ticket reference and a link to the diff for the people who want it, but don't make the diff the description.
The test: could someone on the support desk read this line and know whether it affects the call they're about to take? If not, rewrite it.
Line two: what could go wrong
A risk rating with a reason attached, not a colour on its own. "Low — copy change behind a flag, no data writes." "Medium — migration adds an index, backfill takes roughly forty minutes, table locks during the swap."
The rating is the cheap part. The sentence after it is where the value sits, because it forces the person shipping to think about blast radius before the deploy rather than during it.
Line three: the way back
Every receipt has a returns policy. Every deploy should have a rollback path that is written down and, ideally, rehearsed.
- Is it a redeploy of the previous tag, a flag flip, or a forward fix?
- Who is allowed to run it, and do they have the access right now?
- How long does it take, and does it need a second person?
- Has anyone actually done it in the last six months?
A rollback that has never been tried isn't a plan; it's a hope with a runbook URL. If the honest answer to the last question is no, that's the most useful thing the receipt will tell you all week.
Line four: who signed it off
A named approver, not "the team". Plus the name of whoever is on call for the next twelve hours. Two names turn a diffuse collective responsibility into something a person can actually answer for.
This isn't about blame. It's about the difference between "we think someone reviewed this" and "Priya reviewed this at 15:20 on Tuesday and knew about the index". When something goes wrong at half two in the morning, the second version saves an hour of Slack scrolling.
Line five: what the customer sees
The customer-visible delta. Not the internal refactor — the thing a person using the product would notice, or specifically wouldn't. "Email subject line changes for order confirmations." "No visible change; internal queue retry logic."
This is the line that lets support answer the phone without escalating, and the line that stops a harmless change being reported as an outage because nobody expected anything to look different.
Making it cheap enough to actually happen
The reason receipts don't get written is that they feel like admin. So automate the parts that can be automated and template the rest:
- A template in the repo, in the pull request description or a
RELEASE.mdfragment, with the five headings already there. - Labels drive the risk line. A
risk:mediumlabel plus the migration label can pre-fill a standard sentence a human then edits. - A CI step that appends the commit range, the previous tag and the rollback command to the receipt, generated at deploy time so the link is accurate.
- A stored artefact. Attach the receipt to the release, not to a chat message that will be buried by lunchtime.
- A retention rule. Keep them for a year, or whatever your audit friends want, in something searchable.
Five fields, not fifty. The moment the template grows to fifteen, it stops being filled in properly and you're back to commit dumps with better branding.
The receipt isn't the audit — it's what makes the audit short
Nobody wants to write release notes. But there's a difference between documentation as a chore and documentation as a receipt: the receipt is the smallest thing that proves the transaction happened properly. It takes two minutes at deploy time and it replaces an afternoon of asking four people what went out on the fourteenth.
Put it in the drawer with the guarantee cards. You'll be glad of it the one time someone asks.