Filed at 10,000 m, lands at 3,000 m.Delivery

Fires, rust and dust: where perfectionism pays

Teams dot every i when fixing things later is expensive, and in most large organisations it is. Shorten the path to production and good enough becomes safe for most work, apart from the few things that were never a perfection question.

Contents, 4 sections

A newspaper sub-editor checks every line, because once the presses roll, the typo is on a hundred thousand doorsteps. The same writer online fixes it in thirty seconds and moves on. Most enterprise delivery still runs like print.

Every team I have worked with has a perfectionist and a shipper. The perfectionist wants the edge cases handled and the descriptions filled in before anything merges (more my personality), and the shipper wants it live by Friday (also my personality!). Most delivery advice casts the perfectionist as the problem. I have come to think they are usually the only one who has noticed we are still in print. When the next chance to fix a mistake is six weeks and a committee away, polishing before merge is a sensible bet.

The print schedule is set well above the delivery team, usually by whoever signs off the budget. It quietly decides how careful that team will be, whatever the quality policy says. So the fix for a fussy team is rarely found inside the team.

What a slow print schedule costs

From the outside, a team on a slow print schedule looks slow and fussy. From the inside, it is pricing risk correctly. When a correction needs a release window and a change advisory board, every defect that escapes is expensive, so nothing is allowed to escape.

I have made both calls with the same standards. On waterfall programmes, changes are usually one-shotted, since a tidy-up sprint afterwards is virtually unheard of. There I have held back changes that fell short, and watched the delays frustrate the business and send it back to replanning. On programmes with a real culture of change, I have approved work with moderate design flaws, edge-case bugs, a slow query or a scruffy screen. There was a guaranteed tech debt remediation slot in the next sprint. The standards did not move between those decisions. The print schedule did.

The usual response to a slow, fussy team is another approval step, which makes the next fix slower to ship and the team fussier about letting one through. The 2019 State of DevOps report from DevOps Research and Assessment (DORA) looked at exactly this. It found that heavyweight approval, by an external change advisory board or a senior manager, had a negative impact on delivery performance. It also found no evidence that such approval lowered the rate of failed changes. Slow approval pushes teams into larger, less frequent releases, which DORA found are likely to carry more risk than the small changes they replace.

The delay has a second cost, and it lands outside IT. While a change waits in review, the business still has the problem it asked us to fix. So it fixes it another way, usually with a spreadsheet or a side system. That workaround comes back to IT later as a data problem. The careful team buys safety in one place and pays for it in another, on a budget line nobody connects to delivery.

The case for the careful team

The careful team has a strong reply, and it deserves a full hearing. Review standards exist to keep significant technical debt out, to catch design flaws and bugs before users do, and to keep the housekeeping and the conventions honest. In a regulated business, or on a platform with no automated tests and no clean rollback, the change board may be the only control that actually exists. Removing it without replacing it just ships failures faster.

Review is also where standards get taught. Research at Microsoft found that code review delivers knowledge transfer, team awareness and alternative solutions as well as caught defects. A pipeline, however fast, teaches nobody anything. Google’s review guide warns that “letting people ‘clean things up later’ is a common way for codebases to degenerate”. A fast path to production with no floor under it ships debt faster, and it ships it past the people who would have learned from the argument.

I have some sympathy for that side, because I have argued it, and not always well. Early as a tech lead I weighted cosmetic findings the same as functional ones, and the team paid for it in delayed pull requests and a fair amount of frustration. I pick my battles now. A decent pipeline now lints and checks most of what I used to argue about by hand. With coding agents writing much of the code, a cosmetic fix costs a tool run or a prompt, not an argument.

Both sides are right about something, and that is the useful part. A fast pipeline makes good enough safe for most work, though not all of it. The careful team is right that some mistakes cannot be fixed later at any speed. Telling those apart is a design question.

Which mistakes deserve the careful team

The useful test is how the cost of not doing something behaves over time. Some costs are irreversible, some compound and some sit still, and only the last kind is safe to defer freely.

The 100x figure is folklore, the slope is real

Every design review eventually hears that a bug costs a hundred times more to fix in production. The famous chart behind it traces to a 1987 textbook citing IBM course notes that nobody has been able to find, which has not slowed its travel through slide decks. Laurent Bossavit followed that trail in The Leprechauns of Software Engineering.

The direction has better support. Boehm and Basili’s 2001 defect reduction list puts a fix after delivery at often around a hundred times the cost of one made during design. The same list notes the ratio is closer to 5:1 on small, non-critical systems, and lower still with good architecture. That curve was drawn across waterfall phases, where later meant after the one shot at getting it right. In a project-funded organisation it is steeper still. When the project closes, the team rolls off and the budget closes with it. A defect found after go-live has nobody left who understands it and no cost code to fix it against. It joins the business-as-usual queue, behind everything else nobody funded.

In my experience, a team that ships small changes through a fast pipeline can fix a bug next sprint for about what it costs today. In a team with quarterly releases, it costs a release. The curve is a picture of your delivery model, and the steeper it is, the more your perfectionists are worth.

Fires: never a perfection question

Security exposure, data loss and regulatory breaches do their damage when they happen, and a later fix does not undo it. I call these fires. Security is the one I have never compromised on, whatever the programme and whatever the print schedule. A fast pipeline gets the fix out quickly, but it does not unleak the records or recall the email.

When the exposure involves personal information, a regulator sets the price. Australia’s Privacy Act requires reasonable steps to protect personal information from unauthorised access, and the commissioner’s office names secure software development, testing and access controls among those steps. Failing to take them is an interference with privacy. A serious one can now attract the greater of A$50 million, three times the benefit obtained, or 30% of adjusted turnover, per contravention. The first case to reach a civil penalty came under the old, lower ceiling. It still cost A$5.8 million, because the court counted a contravention for each of the 223,000 people whose data was taken. An extra day of testing is not a close call against that.

Security still needs a line drawn, and the line is exposure. Someone seeing what they should not is a fire. A second layer of checks on a field nobody sensitive can reach is hardening, and hardening is a trade-off like anything else.

Rust: the clock is ticking

Rust is the slow opposite of a fire. No single spot of it would trouble anyone, but it spreads the longer we leave it. Take poor data quality: it spreads with every record and every day, until it eats through something load-bearing, usually a report someone senior trusts. The 1-10-100 rule is usually credited to George Labovitz and Yu Sang Chang in 1992. It prices a bad record at a dollar to stop at entry, ten to correct later and a hundred to leave alone. The figures are illustrative, but the unit matters. A code defect is fixed once, while a data defect is fixed per row, and the rows keep arriving.

The scruffy screen is another classic case. We ship it to hit a date or stay inside a budget, and users are frustrated because a simple job now takes longer than it should. Enterprise users cannot leave a system they dislike, so they route around it, typing statuses into a notes field or keeping a spreadsheet on the side. Each workaround can quietly degrade the data it touches.

Rust is where “an edge case that may never happen” needs a number. One in ten thousand sounds like never, and at a million records a day it is a hundred a day. Rust has to be priced at your volume and your appetite for risk.

Dust: flat per speck, compounding per pile

Dust costs about the same to fix next month as today: a missing description, a clumsy name, a method that wants refactoring, a test beyond what the ticket needs. Each speck is flat, but four hundred missing descriptions make an org where every incident starts with archaeology: old tickets, commit history, and a search for whoever built it.

Some dust is a fire in disguise. A name baked into a public interface or a data model is cheap to get right today and a migration to change later.

For the rest of the dust, what works is a floor nobody has to argue for. I use three tiers. Machines enforce the first, formatting, lint rules and naming patterns, with zero tolerance, because compliance costs nothing once a tool does the checking. Reviewers own the second, a short list a tool cannot judge, such as a reason beside anything surprising and tests on the behaviour that matters. The third is nits, which Google’s review guide has reviewers prefix with “Nit:” to mark “a point of polish that they could choose to ignore”.

Letting some dust through is fine, as long as the margin has an edge. Without one, good enough for now quietly becomes the standard, which is a slippery slope. The edge I like is a ratchet. New code meets the lint rules strictly, old code is left alone until someone touches it, and the count of old violations only goes down.

A known bug does not fall into a single category. It goes wherever its damage lands: exposure makes it a fire, damage that grows with volume makes it rust, and a cosmetic flaw is dust. What makes shipping one acceptable is that it is known: written down, sized, and given a date.

The model on one page

KindExamplesHow the cost behavesHow to treat it
FireSecurity exposure, data loss, regulatory breachIrreversible, since a later fix does not undo the harmBlock the merge at any release speed
RustData quality, user workarounds, operational load, volume limits, edge casesCompounds per record, user or dayPrice it at your volume and risk appetite, and date the fix
DustDescriptions, naming, refactoring, extra tests, styleFlat per item, compounding in aggregateTools own the floor, nits never block, a ratchet keeps the margin honest

Where the careful team belongs

The table only holds still if the print schedule does. Your delivery model sets the slope for the rust and dust rows, and a slow one pushes everything towards the fire row, because every mistake starts to look permanent.

So the fix is a funding decision, which is why it belongs with whoever signs off the budget. Replace the change board’s judgement with automated checks and a rollback that works, and keep the board, and the careful team’s full attention, for the fires. Rust gets a price and a date, and dust goes to the machines. Review still does its teaching, in the first round, where it is cheap. The question worth putting to your delivery lead is how many days a merged fix takes to reach users, and what it costs to roll one back.

Your perfectionist is working out how expensive a mistake will be, using the numbers your release cycle gave them. Speed up the presses and most of that polishing stops being worth it. What is left is the fires, and nobody sensible was ever going to compromise on those.

Nathan Avatar

More about Nathan

Where next

A consistent coding framework is what makes 100 developers behave like one team

A framework is a core set of classes, the conventions around them, and someone enforcing both. Its product is that every team's code has the same shape, so anyone can review anyone's work and the next platform change is three edits, not every class. That only holds if someone owns it.

10,000 m to 300 m. Architecture, 10 minute read.