Skip to main content

Rehearse the rollback before you roll out

Two blank order slips beside a printer in a dispatch room

Give your release team a way to tell customer support exactly which orders need attention after a bad rollout. We’d rehearse that handoff before changing anything that sends a message, creates an order, or moves money.

Picture a fictional release of a new order-confirmation service. The pilot order arrives once in the order system, but two confirmation emails go out. Engineering can restore the previous software version. Support still needs to know whether there are two orders, and whether the next retry will send a third email.

Pick a stop signal from the customer journey

Choose a pilot order that you can trace from the order system to the email provider. Before rollout, agree on the expected result: one order and one confirmation for that order. Two accepted sends for the same pilot order are enough to pause this rollout, even if the service dashboard shows no errors. Put the order reference and a link to the message trace in the release notes so the person making the call can find both under pressure.

Rehearse the pause with work still waiting

Give the team one extra detail: a retry is already waiting when the duplicate is spotted. Ask whoever runs the release to show how they would prevent that retry from sending another confirmation. The answer might be to pause the sender or hold the queue, depending on which component owns the retry. Have someone record what is held and check whether the old software can safely handle the messages already waiting.

We’d make that compatibility check part of the release decision. If the new version has written records the previous one cannot read, a rollback can leave the service running and the workflow stuck. The Amazon Builders’ Library guidance on rollback safety explains how to test compatibility between versions. AWS Well-Architected also recommends testing rollback procedures and using monitoring to decide when to halt or reverse a deployment.

Give support a list they can act on

Start with the rollout window and the orders exposed to the new sender. For each affected order, reconcile the order record, confirmation history and any pending retry. Record whether the order itself is duplicated, whether only the email was duplicated, or whether the evidence is still inconclusive. Provider acceptance shows that the provider accepted a send request. Record delivery separately if you have that status.

In the exercise, the order system shows one valid order and the email provider shows two accepted sends. Support can now answer clearly if someone asks whether they ordered twice. Operations can hold the pending retry while it checks the rest of the pilot. If you cannot trace an order conclusively, name the person who will investigate it and keep it out of any batch resend.

Make restart a decision someone owns

Give the release owner a short sign-off that engineering and operations can check together. We’d ask for three pieces of evidence: the retry that caused the problem is contained, affected orders have an owner and a recorded next action, and a fresh pilot order produced one order and one confirmation. Watch that fresh order through the retry interval relevant to your system before widening the rollout.

Take these four lines to your next release review:

  • Stop when: name the customer-visible signal and where to see it.
  • Contain: name who can halt the rollout and what happens to waiting work.
  • Reconcile: name the records you’ll compare and who owns the affected orders.
  • Restart when: name the evidence the release owner needs from a fresh pilot.

Run the exercise with the person who releases the software and the person who answers for the orders. If either needs information the other cannot produce, you have a concrete improvement to make before rollout.