只有一个人能理解自动化 是时间炸弹
The Automation Only One Person Understands Is a Time Bomb
有一个部署管道 在一个工作, 大家都称"托马斯的脚本"。 它精确地做了大约九件关键的事情, 这些年来拯救了我们数千小时, 地球上只有一个人明白它是如何运作的。 Tomasz在附近的时候,这是隐形的。 当托马兹去度假,剧本在晚上十一点失败后,它不再是一种方便,成为了公司中唯一最可怕的物品. 我们站在一个终极读取码周围, 我们没有人写过, 害怕触摸它, 不能离开它一个人。 这就是自动化的沉默自相矛盾. 整个要点是去除人类的努力,它的成功是如此地彻底,以至于人类忘记了事物是如何运作的,或者一开始就永远不学习. 一个人工过程, 对于所有的ted.
There was a deployment pipeline at one job that everyone called "Tomasz's script." It did roughly nine critical things in a precise order, it had saved us thousands of hours over the years, and exactly one human on the planet understood how it worked. When Tomasz was around, this was invisible. When Tomasz went on holiday and the script failed at eleven at night, it stopped being a convenience and became the single scariest object in the company. We stood around a terminal reading code none of us had written, afraid to touch it and unable to leave it alone. This is the quiet paradox of automation. The whole point is to remove human effort, and it succeeds so completely that the humans forget how the thing works, or never learn in the first place. A manual process, for all its tedium, keeps knowledge distributed across everyone who performs it. A perfect automation concentrates that knowledge into whoever wrote it and then lets everyone else safely forget. The more indispensable the script becomes, the more dangerous its single point of understanding grows. What makes it worse is that these scripts accrete. They start simple and legible, then someone adds a special case for a weird environment, then a workaround for a vendor bug, then a hack to handle the one customer who is different. Each addition makes sense in the moment and makes the whole slightly more opaque. By the time it is truly load-bearing, it has become a small undocumented system that only its author can reason about, and its author is a busy person who is one job offer away from taking all of it with them. I have stopped treating a working automation as finished. Working is only half the requirement. The other half is that at least one other person can read it, understand what it does, and safely change it. That means the script explains its intent, not just its steps. It means the tribal knowledge lives somewhere other than one skull. It means occasionally, deliberately, having someone who did not write it run it and fix it, while the author is still around to answer questions. Automation should reduce your risk, not relocate it into a single person. If the honest answer to "what happens if this individual disappears tomorrow" is "we are in serious trouble," then you have not automated a task. You have just hidden a dependency and called it progress. – Serguey Shinder