Petya went on holiday, and the builds stopped
Three weeks in the life of a company where a critical process ran on one person, and that person went to grill kebabs at the dacha. What I learned, and what I now do with those situations.
It was August, hot, holiday season. A client I'd worked with six months earlier called. "We're panicking," he said, in the particular voice people use when it's the whole business panicking and not only them. "Our production builds won't build."
"What happened?"
"Petya left."
"Left for where?"
"His parents' dacha. In Ruza."
"Does he have a signal there?"
"He does. But he's on holiday."
"Can you do it without him?"
There was a pause, and it was the existential kind.
Petya was a strong senior support engineer. His informal list of duties included the line "assembles prod builds on Friday evening." He had assembled them for six years. At first it was because he was one of seven people who knew how. Later he was the only one who knew where the certificates lived and in what order they had to be applied. Later still he'd written a script that automated part of the process. The rest lived in his head, in the form of "here you wait 30 seconds, because otherwise the Apple API doesn't respond."
When Petya went off to his parents' dacha, it turned out he had left nothing behind: no documentation, no README, not even notes in Jira. He had never planned to hand this part off. It hadn't occurred to him that he'd need to.
He still, by the way, doesn't understand the fuss. "I was reachable," he says. "You could have called." We could have, of course, but Petya was on holiday. And calling someone who's standing at a grill at the dacha is bad management, and the price is usually paid in something other than money, such as Petya leaving for a competitor six months later.
Over those three August days I did assemble the release. I called Petya twice, though I consider that bad practice myself (he wasn't angry, and in September we brought him a bottle of cognac as an apology), and he dictated the steps over the phone. Then I told the client: "We need to fix this before I leave the project. Otherwise it will happen again in six months to a year, and it will be my fault for not fixing it when we could."
The client agreed, and within two weeks we had sorted it out.
A Petya like that grows in a team by himself. Nobody appoints him: the role builds up over years, one convenient decision at a time.
No one designs a process to depend on one person. It happens gradually. Petya did the task faster than anyone. Petya did it again. By the third time, everyone knows it's Petya. By the fourth, it's easier for Petya to just do it than explain. By the fifteenth, it's only possible through Petya, because the steps aren't written down. It isn't Petya's fault; this is how a process wears down on its own.
Petyas come in different shapes. It can be an engineer, an accountant who's the only one who knows how to enter records into the accounting system without triggering a fine, or a salesperson who alone remembers what stage each deal is at. And sometimes Petya is the founder, the only person in the company who understands why the strategy is the way it is.
If your company has one Petya, that's survivable; everyone lives with one. Three Petyas are a structural vulnerability. With five, you effectively have no processes, only five autonomous people working next to each other and occasionally talking.
When I find a Petya, I use four methods.
-
A minimal runbook. A hundred-page wiki is no use: no one reads it, Petya won't write it because he's bored, and you won't review it because you're busy.
What works is one page per process: what it does, input and output, key commands, and what to do when it breaks. It takes ten minutes to write and five to verify.
Verification is simple: a week after writing, give the page to someone who's never done the process and have them follow it. They'll stumble in three places, you add those three places, and the process is documented.
-
Two weeks of pairing. Petya does the task while Masha sits next to him (in person or on Zoom), watches, asks no questions and writes down decisions and nuances.
The next week Masha does it and Petya watches. The week after, Masha works alone with Petya on standby.
After that Petya can go off to his parents' place in Ruza, and the business won't stop, because two people now know the process.
-
Automate what can be automated. If Petya does this process by hand three times a week, it's a candidate for a script. Even a bad script covering 80% of cases frees 80% of Petya's time, and the other 20% really does need the expert.
The reverse is true too: don't automate what's done once a quarter. Writing and maintaining the automation costs more than doing it by hand. I had a client with exactly that, a financial report assembled four times a year. They spent half a year building automation for it, and it never went live. Now the report is assembled by hand again, the way it was.
-
Rotation. The most painful method and the most effective. Once a quarter someone else takes over what Petya does, and Petya moves to an adjacent area.
First the team complains. Then Petya complains, because his expertise has been "spread." Then no one complains, because the knowledge is distributed.
Rotation works in teams of four or more; in smaller ones there is no one to hand off to.
Some approaches don't work.
"If they quit, we'll deal with it then." Documentation doesn't appear by magic on resignation day. Usually resignation happens faster than you can react, and Petya takes six years of context with him. I had a client who lost the sales team in a week after one person left, because that one person held the structure of relationships with fifteen key clients in his head. That was an expensive week.
"Let's hire another Petya." This doubles the Petyas but leaves the structure as it was. Two Petyas are still Petyas, and the vulnerability is merely split in two.
"The human context matters, you can't document it." Sometimes that's true, but more often it's an excuse for not spending ten minutes on a one-page runbook. Try spending them and see what happens.
There's an old engineering joke that the only server without a backup is prod. Processes work the same way: the one left without a backup is the one that's most expensive to lose.
"Everything rests on Petya" sounds like praise for the team, but it describes an unfinished process. Petyas are great people, and the company still has to survive both Petya's holiday and his resignation.
Petya doesn't need replacing. What needs taking apart is what has grown up around him, which usually takes a page per process and two weeks of pairing.
Petya, by the way, loses nothing. A good Petya will be glad to have a holiday without calls.