archive / 2019

Six months as a tech lead, and everything I got wrong

Since May I've been the tech lead of the platform team. Less code, more people, and a list of mistakes I wish I'd known about sooner.

In May my manager asked whether I wanted to become tech lead of the platform team. I said yes before he’d finished his sentence. I’d been there two and a half years, I knew the clusters inside out, and I had opinions. Lots of opinions. That seemed like a solid foundation.

Six months later I know that having opinions is about the least important part of the job. Here’s an honest list of what I got wrong. Not because I do it all right now, but because I’d have liked to read this back in April.

1. I kept wanting to be the best programmer#

For the first two months I still grabbed the hardest tickets. The migration to a new ingress controller, the rework of our deploy pipeline. Because I could do those fastest.

The result: I spent all day in meetings and wrote code in the evenings. That code then sat waiting for days, on me, because I was in another meeting. I was the bottleneck of my own team. A colleague put it very dryly in a retro: “We wait for you quite a lot.” Ouch. But fair.

Now I deliberately don’t take tickets on the critical path. I do the small stuff, the clean-up, the tooling. The big things go to the team, and I help them get through it.

2. I confused “answering fast” with “helping”#

When someone got stuck, I gave them the answer. Efficient, I thought. But after a few months I noticed the same people coming back with the same kind of questions. I hadn’t taught them anything, I’d only taught them to come to me.

Now I try to ask a question back first. “What have you tried so far?” “Where would you look?” That feels slower. It is slower, the first time. After that it isn’t.

3. I reviewed everything, and too harshly#

I had a habit of reviewing every pull request from the team. And I had something to say on every PR. A variable name, a nicer way to write a loop, an interface that could be more elegant.

What I didn’t see: when the tech lead leaves twenty comments, every comment feels like an obligation, even the ones meant as “just a thought”. A junior on the team told me later that she sometimes held on to her PRs an extra day “to make them perfect before you saw them”. That’s the exact opposite of what you want.

What I do now: I explicitly prefix small things with nit: and say they’re fine to ignore. I don’t review everything myself anymore. And when something is good, I say so. That last one sounds soft, but it works.

4. I assumed everyone knew what I was thinking#

I had a very clear picture of where our platform needed to go. In my head. I’d never written it down. So the team made decisions that were perfectly sensible but didn’t go in the direction I had in mind, and then I got frustrated. While that was entirely my fault.

Now we write short design docs for anything that’s more than a week of work. One page, two pages max. The problem, the options, what we pick and why. The funny thing is that writing it down often makes me realise my own idea was worse than I thought.

5. I didn’t shield the team from the rest of the company#

Every request from another team (“could you quickly create a namespace?”, “why is my deploy slow?”) landed directly on the whole team. Everyone got interrupted constantly. I thought that was normal, because it had always been like that.

Since September we have a rotation: one person per week is “on duty” for questions from outside. The rest can get work done. Simple, and it’s done more for our productivity than any technical improvement this year.

6. I underestimated how tiring it is#

This is the most honest one. In 2016 I went through a period where things weren’t good, heading towards burnout. I thought I’d recognise the signs by now. But context switching between people, planning, architecture and “the cluster is acting weird” is a different kind of tired than programming. Not worse, just different. In the evening you don’t have the feeling you’ve made something.

I’ve learned to protect my calendar. Two mornings a week without meetings. And I keep a list of the things the team achieved that week. That helps me see that something did get made, just not by me.

So, any regrets?#

No. I actually enjoy it a lot, especially when I see someone on the team solve something they’d have come to me for six months ago. That’s a different kind of satisfaction than a green build, but it’s real.

But I’d tell anyone becoming a tech lead to remember this on day one: your job is no longer to do the work. Your job is to make sure the work can get done. It took me half a year to really get that. Hopefully it goes faster for you.

    Tip: / opens search, ↑↓ to select, ↵ to open.