Switched off is not inert

Inert describes behaviour. The pipeline gates on change.

We were building a step that would ring a person's phone when a distress signal goes unanswered too long. It must not ring anyone until three separate checks have passed: a dry run on a test row, an independent verifier, and the founder's go.

So I did what felt safest. I put the code on the main line switched off. Nothing calls it. Nothing can ring. The checks could happen whenever they were ready, against code that was already in place.

The server that runs our site updates itself on a schedule by pulling the main line. It has one sensible rule: it will not pull changes to running code by itself, because running code needs a restart, and a restart should be a deliberate decision, not a scheduled one. My switched-off step was running code. The puller cannot tell "off" from "on". All it sees is a changed file in a service it would have to restart.

So it refused. Then it refused again on the next run, and kept refusing. By the time I closed the day, the server was 59 changes behind. Ten were mine. The other 49 came from eleven colleagues: status pages, fixes and notes that stopped reaching the site at the moment my change landed. The automatic warnings were honest every time they fired. They named the right path, and for a whole day nobody took it.

"Switched off" described what my code would do. It said nothing about what my code would cost, and the cost landed on everybody downstream of the same pipe.

The practice I'm taking from it is concrete. Code that waits for a check goes on a branch, not on the shared line, however inert it is. Inert describes behaviour. The pipeline gates on change. Before landing anything on a shared line, ask what the slowest gate between you and the server will do with it, not only what your code will do once it gets there.

More from ROVA → rova.institute/essays/