Nobody writes "ego" in the root cause field.
The postmortem says a server was missed. A command had a typo. A backup job had been failing quietly for months. Read enough of them, though, and the same shape keeps turning up behind the technical detail: someone was sure, and nothing in the system asked them to prove it.
That's what I mean by ego in production. Not arrogance as a personality trait. Certainty that outruns the evidence, and a system built to trust it.
It turns up in all sorts of places:
- Resume-driven architecture.
- Rewrites, because the old code "is a mess".
- Big-bang releases that skip review because "I know this code".
- Refusing to roll back because rolling back means admitting the change was wrong.
- Hero on-call culture, and the blame that comes with it when the hero is the one who slipped.
The postmortems don't say ego. They say "nobody checked".
On 1 August 2012, Knight Capital deployed new code for the NYSE's Retail Liquidity Program. According to the SEC's order, a technician didn't copy the new code to one of the eight servers. The new code reused a flag that used to switch on "Power Peg", logic Knight had stopped using in 2003 but never removed. On the eighth server, that flag woke the dead code up. In about 45 minutes the router sent millions of orders into the market, and Knight lost more than $460 million.
The SEC's findings are dull, which is exactly the point. There was no second technician reviewing the deployment and no written procedure requiring one. In the SEC's words, "a written procedure requiring a simple double-check of the deployment of the RLP code could have identified that a server had been missed." It gets worse. During the incident, Knight uninstalled the new code from the seven healthy servers, and that spread the problem. Their rollback had never been designed or rehearsed. It was improvised under pressure.
On 31 January 2017, a GitLab engineer trying to rebuild database replication wiped what they thought was the secondary's data directory. It was the primary. Roughly 300 GB was gone before they stopped it. Then the backups turned out not to exist: pg_dump was running a 9.2 binary against a 9.6 database, failing every time, and the failure emails were being rejected. GitLab's postmortem names the deepest cause plainly: nobody owned testing the backups. Their conclusion is the best sentence in the whole document: "An ideal environment is one in which you can make mistakes but easily and quickly recover from them with minimal to no impact."
On 28 February 2017, an S3 engineer following an established playbook mistyped one input to a command and removed far more servers than intended in US-EAST-1. S3 was down in that region for hours. Amazon's write-up doesn't go looking for someone to blame. It fixes the tool, which "allowed too much capacity to be removed too quickly", so it now removes capacity slowly and refuses to go below a minimum.
Notice what none of these say. None of them says "the engineer was arrogant". The ego wasn't in the person at the keyboard. It was baked into a system that assumed a careful person doesn't need a check, a backup doesn't need a restore test, and a rollback doesn't need a rehearsal.
Blame is ego wearing a manager's hat
When things go wrong, the ego move is to find the person. John Allspaw, then at Etsy, called this out in Blameless PostMortems and a Just Culture, borrowing what Sidney Dekker calls the "Bad Apple Theory": get rid of the bad apples and you get rid of human error. It feels like accountability. It produces the opposite.
Allspaw's argument is that engineers have to be able to explain what they did, what they saw and what they expected, "without fear of punishment or retribution". Punish them and they go quiet. You get what he calls "Cover-Your-Ass" engineering, management stops learning how work really gets done, and the same accident comes back with a different name on it.
Richard Cook's How Complex Systems Fail goes further. Two of his points should be printed on the wall of every incident review: "Post-accident attribution to a 'root cause' is fundamentally wrong", and "Hindsight biases post-accident assessments of human performance". Failures need several things to go wrong at once. After the fact, the one human step looks obvious. It wasn't obvious at the time.
Google's SRE book puts the practical version in one line in its chapter on postmortem culture: "You can't 'fix' people, but you can fix systems and processes."
Ego in the architecture
Production incidents are the loud version. The quiet version is architecture chosen to make someone look smart.
Dan McKinley's Choose Boring Technology gives every company "about three innovation tokens". His most useful exercise is to ask how you'd solve the problem without adding anything new. Asking that, he says, catches the case where the real "problem" is that someone wants to use the technology. Resume-driven development fails that test every time. So does the Kubernetes cluster for a three-person team, and the microservices you split out before you had the teams for them. McKinley's verdict is short: "Technology for its own sake is snake oil."
Not-invented-here is the same disease aimed at libraries. Writing your own job queue, your own ORM or your own serialization layer because the existing one offends you is ego with a commit history. (Yes, DRF offends me too. The boring answer is still plain Django views, not my own framework.) And the extra database you added because Postgres felt too ordinary? Postgres was probably enough.
Then there are rewrites. Fred Brooks warned in The Mythical Man-Month about the second-system effect: confident after the first success, the designer piles every deferred idea into the next one, and that second system is "the most dangerous system a man ever designs". Joel Spolsky called rewriting from scratch "the single worst strategic mistake that any software company can make" in Things You Should Never Do, Part I. His explanation is uncomfortably personal: "It's harder to read code than to write it." The old code looks like a mess because we didn't write it. Those ugly lines are often bug fixes we don't understand yet.
Heroes, rollbacks and the 2 am fix
Every team has the engineer who saves the day at 2 am. Celebrate that often enough and you get a team that needs saving at 2 am.
The ego trap during an incident is fixing forward because rolling back feels like losing. The Google SRE book has a lovely counter-example. At a company all-hands, an engineer described a release that took down a critical service. It only lasted four minutes because he rolled it back immediately. He got two peer bonuses and a round of applause. That's the culture you want: the rollback is the heroic move.
Rollbacks only work if they're boring, though. Knight's improvised rollback made things worse. A rollback you've never practised is just another risky deploy.
Size matters too. DORA's research on software delivery, behind the book Accelerate, has found again and again that speed and stability are not tradeoffs. Their recommended lever is smaller changes: easier to reason about, easier to review, easier to recover from. A big-bang change bets everything on being right once. A small change only has to be right this time, and it's cheap when it isn't.
I'll own my bias here. I was a Python 2.7 sympathiser and a late adopter of Python 3. I know exactly how it feels to defend a position past its sell-by date. The fix isn't to never hold strong opinions. It's to know in advance what would change them.
How to tell your ego is running production
A checklist of smells:
- "I know this code" is the reason a change skipped review or tests.
- The release is one big change because splitting it felt like admin.
- There's no rollback plan, or the rollback has never been run.
- Rolling back is treated as failure rather than a normal move.
- The new tool's main argument is that serious companies use it.
- A rewrite is pitched as the fix for code nobody has read carefully.
- Incident reviews end with a name rather than a change to the system.
- The most senior voice wins design arguments that data could settle.
- The same few people get paged, and they like it that way.
- Nobody asks for help until the incident is an hour old.
- "Works on my machine" ends the conversation instead of starting one.
- Backups exist, but nobody has restored one this quarter.
What to do instead
- Evidence over seniority. Bring graphs, traces and load tests to design arguments. If the senior person is right, the evidence will say so.
- Small, reversible changes. Ship in slices behind flags. Make every deploy something you can undo in minutes.
- Make rollback a first-class move. Rehearse it. Automate it. Praise the person who uses it early.
- Two people on risky changes. A second pair of eyes on production deploys, migrations and destructive commands. That's what the SEC wanted from Knight.
- Guard rails in the tools. Do what Amazon did after S3: make dangerous commands slow, bounded and loud, and make it obvious which host you're on.
- Blameless reviews. Ask what made the action seem reasonable at the time. Fix the system, not the person.
- Write the decision down, with how you'd know you're wrong. Every architecture choice gets a short note covering the problem, the options and the signal that would make you reverse it.
- Ask "what would change my mind?" before the meeting ends. If the answer is "nothing", that's ego, not engineering.
- Test the restore, not the backup. Restore it on a schedule, and give someone ownership of it.
None of this is exotic. It's boring technology applied to people.
Bottom line
Production doesn't care who you are. It doesn't care how senior you are, how clever the design is or how sure you feel. It responds to small changes, real checks, rehearsed rollbacks and honest reviews.
Build systems that assume everyone, including you, will be wrong sometimes. Make being wrong cheap, quick to notice and safe to admit.
Then let the evidence run production.
Not your ego.