by Samy (Kondasamy Jayaraman)

Module 43 · Shipping a release

Intermediate

How new code reaches everyone

Every change can hide a bug no test found. Here you run Larkspur’s new checkout from a signal box: turn the dial to send a few customers first, watch their failures, and pull the lever back.

Read as

The whole idea in one example

The new checkout, with its bug

Straight to everyone

hurt

282

Every customer meets the bug at once, and nobody pulls it back.

In stages, with a check

hurt

1

A few meet it first; the check rolls it back by itself.

Counts come from a simulated morning: made-up changes and Larkspur’s planning-number failure rates.

How it works

Four ideas carry the module

  1. 1 Tests on every change

    A test stops the bug it checks, and only that one

  2. 2 A few first

    A canary meets the change first; few checkouts make luck loud

    Google’s SRE Workbook defines canarying as trying a change on part of a service for a limited time and judging it: the part that gets the change is the canary, the rest is the control.

    Source, checked 30 October 2026

  3. 3 A switch, not a deploy

    A flag shows code that is already out, and hides it in a minute

    Pete Hodgson (martinfowler.com, 2017) describes feature toggles as patterns for delivering new features rapidly but safely, separating a feature’s release from the code’s deployment.

    Source, checked 30 October 2026

  4. 4 Step by step

    A check before each step up rolls a bad change back by itself

    For a bad canary, it says to pause and roll back the deployment, or call a person to help.

    Source, checked 30 October 2026

The story

Larkspur’s checkout, before the sale

Larkspur Supply Co. ships a new checkout before its sale; the team learns to ship to a few first, watch, and keep a way back that is faster than a fix. You’re on the team that ships it.

100
checkouts a minute in Larkspur’s simulated morning
40
minutes the morning runs, one step at a time
4
changes your release plan faces in chapter 7
3
plans win chapter 7

Your path

The chapters

  1. Chapter 1

    Straight to everyone

    What happens when a change with a bug reaches everyone at once?

  2. Chapter 2

    Tests on every change

    Which bugs do tests stop, and which get through?

  3. Chapter 3

    A few first

    How do you tell a bad canary from bad luck?

  4. Chapter 4

    Deploy now, switch on later

    What changes when the code is out but switched off?

  5. Chapter 5

    Back it out

    Can every change be rolled back?

  6. Chapter 6

    Step by step

    How far does a bad change get when each step is checked?

  7. Chapter 7

    Plan the release

    Which plan hurts few customers and still gets the good change out soon?

Who it’s for

  • Engineers
  • Product managers
  • Analysts
  • No code needed

Anyone who waits on a release, signs one off, or gets paged when one goes wrong, and wants to know why teams ship to a few first. A/B testing asks the next question: did the change help?