Nguyen Le Phong

Done Means Someone Else Can Pick It Up

"Basically done" is a risky place to stop.

"It's basically done." Every engineer has said it, and it's one of the riskiest sentences in the job. The main change works, the demo went fine and the next ticket is already waiting. Meanwhile the notes are thin, nobody has written down how to roll back, and the final check lives in one person's head. You've reached the finish line everyone can see. The real one is still a few steps away.

A person at a wooden desk by a bright window, writing in a notebook next to an open laptop, a coffee mug and a few printed pages.
Finishing properly is the work that happens after the exciting part is over.

This post is about those last few steps: what they are, why skipping them costs more later, and a five-question habit that makes them quick.

What "finished" actually includes

Finishing properly isn't glamorous. It's checking the edge case you noticed on Tuesday, updating the doc, removing the temporary flag, writing the handoff, linking the evidence, and making sure the next person won't have to ask what happened.

Scrum has a formal name for this. The Scrum Guide calls the Definition of Done "a formal description of the state of the Increment" when it meets the product's quality bar, and it's strict: an item that doesn't meet it "cannot be released or even presented at the Sprint Review." You don't need to run Scrum to borrow the idea. Write down what done means for your team, so it stops being a feeling one person has. There's more on that in The Definition of Done vs. Ready.

Loose ends come back as interruptions

Unfinished edges don't go away. They come back later as interruptions: a Slack ping six weeks on asking how this thing is supposed to work, an on-call engineer at 2 a.m. who can't tell whether a rollback is safe, a flag nobody dares to delete.

That last one is common enough to get its own section in Pete Hodgson's guide to feature toggles on Martin Fowler's site. He writes that "savvy teams view the Feature Toggles in their codebase as inventory which comes with a carrying cost." Release toggles "should generally not stick around much longer than a week or two," and some teams add a removal task to the backlog the moment they create one.

When a leftover flag cost $460 million

In late July 2012, Knight Capital deployed new trading code to eight servers by hand. One server got missed. When the market opened on August 1, the new code reused an old flag, and on that one server the flag switched on trading logic nobody had used in years. In about 45 minutes the firm lost roughly $460 million. Doug Seven's write-up, based on the SEC's order, is worth ten minutes of any team's time. The old code still sitting in the codebase and the reused flag were loose ends nobody had closed.

Respect the last ten percent

The last stretch of a task is where your confidence becomes something other people can check. A passing test is useful. A passing test plus one line saying what it protects is better. A deployed feature is useful. A deployed feature plus clear rollback criteria lets the whole team sleep.

Wanting to move on once the visible problem is solved makes sense. Every team has pressure, queues and deadlines. But moving on too fast leaves a trail of almost-finished work, and that trail slows everyone down later, you included.

There's a pride trap here too. Finishing properly doesn't mean polishing every detail to prove a point. The goal is smaller and more useful: leave the work in a state where someone else can carry on without guessing.

Five questions before you close a ticket

Before you drag a ticket to done, answer these in the PR description or the ticket. Once it's a habit, it takes about five minutes:

  1. What changed? One or two sentences someone from another team could follow.
  2. How did you verify it? Tests, a manual check, a dashboard, with links.
  3. What's still risky? Known gaps, edge cases you chose not to cover, load you didn't test.
  4. What should someone do if it fails? The rollback step, the flag to turn off, who to call.
  5. What did you leave behind? Temporary flags, debug logs, TODOs, each with a ticket to remove it.

None of these questions are new. Together they give the team something to check, and "done" stops depending on one person's memory.

Done means it stands without you

Finishing properly is a form of care: for the next teammate, for whoever handles the next incident, and for your own attention tomorrow. A task isn't really done when it works once. It's done when it can stand without you holding it up.

Try this week

  • Take one ticket you closed recently and answer the five questions for it. Notice which ones you couldn't answer.
  • Search your codebase for feature flags older than a month and open a removal ticket for one of them.
  • Add the five questions to your PR template.
  • If your team has no written Definition of Done, draft five lines and bring them to the next retro.
What did you think?