Team Lead Mindset

Incidents, Team Health and Growing as a Lead

Fix first and be blameless, DORA delivery measures without a people scoreboard, feedback, juniors, and your first weeks as a lead.

Lesson 0415 min read#incidents#leadership#teams

On this page

  1. Words used in this lesson
  2. When things go wrong: the leader's mindset
  3. Measuring a team without hurting it
  4. Growing into the lead role
  5. Interview questions
  6. Key takeaways
  7. What's next

In one line: a lead is judged most on the bad day and on how the team grows. Fix first, explain after, be blameless about people and strict about follow-up actions, measure the process (not the people), and teach before you rescue.

This lesson is about the part of leading that is not code: incidents, feedback, juniors, team health, mistakes, and your first weeks as a lead. It gives the simple habits and the model answers. Read Lesson 0 first for the answer shape. For a full incident story see Debugging, Lesson 10; for conflict, mistakes and offers see Full-Stack Lesson 38 (coming soon).

Everything here is common practice and opinion, not law. Teams differ. Use the ideas, not the exact words, and always use your own true examples.

What I checked. I read directly (raw text on GitHub): the Four Keys README from the DORA team, the incident and postmortem sections of charlax/engineering-management and charlax/professional-programming (about 8.3k stars for the first, in the snapshot I found), and the introduction of Etsy's Debriefing Facilitation Guide. The full Etsy guide text, Google's SRE book, and Google's Project Oxygen research were not reachable; I know them from web search summaries, so I paraphrase and say so. Check the originals before you quote them.

Words used in this lesson

  • A postmortem is a written review after an incident. Blameless means it looks for causes in the system and the process, not for a person to punish.
  • Bus factor is how many people can leave (or be sick) before the project is in trouble. A bus factor of one is a risk.
  • Technical debt is a shortcut that saves time now and costs time later, like a loan with interest.

When things go wrong: the leader's mindset

A lead is judged most on the bad day. Habits to copy:

  • Fix first, explain after. During an incident, the first job is to stop the pain (roll back, switch the flag off). Find the deep cause once users are safe.
  • Give the incident one coordinator. The incident reading list points to Incident Response at Heroku, which describes an Incident Commander role (an idea borrowed from disaster response). One person coordinates, the others investigate, so people do not duplicate work or all talk at once.
  • Tell people early and plainly. "We have a problem with checkout. We are rolling back. Next update in 15 minutes." Silence makes things worse.
  • Be blameless, not careless. Google's SRE book describes blameless postmortems: they focus on the causes in the system and the process, and assume people acted reasonably with what they knew. The reason is practical: if people are punished, they hide problems, and then the same incident returns. Blameless does not mean "nobody is accountable". It means you ask "how did our system let this happen?" and not "who do we blame?". Etsy's debriefing guide comes from the same idea: it builds on the "New View" of human error from safety science.
  • Ask "how", not only "why". The reading list recommends The Infinite Hows, which criticises the "Five Whys" habit and suggests asking "how" questions that bring out more of what really happened. ("How did the deploy get approved on a Friday?" opens a wider story than "Why did you deploy on Friday?".)
  • End with actions, not just words. Each postmortem should have a few concrete follow-ups with an owner and a date: a test, an alert, a safer deploy step. A simple outline from the same list: summary, impact, timeline, root cause, lessons learned, action items.
  • Read a real one. The list points to GitLab's 2017 database incident postmortem as a detailed, public example of how to write honestly about a bad day.

For a full incident story and examples see Debugging, Lesson 10.

Measuring a team without hurting it

Leads are often asked "how is the team doing?" The DORA research team describes four keys for software delivery. The definitions below are the ones in the DORA team's own Four Keys project:

  • Deployment frequency: how often a team successfully releases to production (daily, weekly, monthly).
  • Lead time for changes: the median time from a commit to it running in production.
  • Time to restore service: for a failure, the median time between the deployment that caused it and the fix, measured by when the related bug or incident is closed.
  • Change failure rate: failures divided by deployments. For example, one failure in four deployments is 25%.

The first two are about speed, the last two about stability. The useful idea is that good teams improve both, not one at the cost of the other. Small, frequent releases are usually safer than big, rare ones. The Four Keys page says its purpose is measuring a team's delivery performance, for example to set a baseline or to see the effect of new tooling. (DORA's own reports have used slightly different names for the recovery measure over the years, so check the current wording before you quote it.)

Do not turn measures into a scoreboard for people. This is my opinion and common practice, not a rule in the Four Keys page: if you reward "most commits" or "most tickets", people will game the number and the real work suffers. Use the measures to find problems in the process, then talk to the team.

What makes a good manager? Google's Project Oxygen research (published on its re:Work site) started with eight behaviors, such as coaching, not micromanaging, caring about the team's success and well-being, communicating clearly, supporting career growth, and having a clear vision. Later it added collaborating across the company and being a strong decision maker. I know this from news and web summaries of the research, not the re:Work pages, so treat the wording as approximate.

Growing into the lead role

When you start to lead (even without the title), the job changes from "write code" to "help the team make good decisions". Habits that help:

  • Give context, not only tasks. Say why the work matters and what "done" looks like. People make better choices when they know the goal.
  • Delegate with a clear owner. One name per task. Say how much freedom they have and when to check in. Do not take the work back at the first sign of a mistake.
  • Teach, don't rescue. When a junior is stuck, ask "what have you tried?" first. Then give the smallest hint that helps.
  • Make decisions, and write them down. Waiting for 100% certainty is itself a decision, and usually a slow one. For reversible choices, decide quickly. For hard-to-reverse ones, take more time, ask for opinions, and write a short decision record.
  • Say "no" with a reason and an option. "We can't do this by Friday without skipping tests. We can ship the basic version on Friday and the rest next week. Which do you prefer?"
  • Protect the team's focus. Fewer parallel tasks, fewer surprise changes, honest priorities.
  • Take responsibility up, share credit down. When something fails, you say "we" and own it with your manager. When something works, you name the people who did it.
  • Keep learning in public. Say "I was wrong about that" when it is true. It makes it safe for others to do the same.

Interview questions

How do you handle a production incident as the lead? (Senior signal)

First stop the damage (rollback, flag off, scale up). Name one person to coordinate and others to investigate, so people do not duplicate work or all talk at once. Send short updates on a schedule. After things are stable, find the causes without blaming a person, write a short postmortem, and create a few follow-up actions with owners and dates. Then I check later that the actions were really done.

What is a decision you made that turned out wrong? (Must know, STAR)

Use a real story. A good one: you chose a tool or design for a reason that was fair at the time, you noticed the problem, you said so openly, you reduced the damage (migration, workaround), and you changed how you decide (for example, a short spike or a decision note before big choices). The trap: a "wrong" decision that is secretly a brag, or one where you blame someone else.

How do you know your team is doing well? (Senior signal)

I look at delivery measures (how often we ship, how long a change takes to reach users, how often releases fail, how fast we recover) and at things numbers cannot show: whether people feel safe to say "I don't know", whether reviews are quick, whether work is shared, and whether incidents teach us something. I use the measures to find process problems, not to rank people.

How do you give feedback that is hard to hear? (Senior signal)

I do it soon, in private, and about a specific thing I saw, not about the person. I say the effect it had, and I ask what they think. Then we agree on one change to try. For example: "In yesterday's review the comments were short, and I think the new teammate felt shut down. Can we try adding a reason to each comment?" I follow up later and notice when it improves.

How do you handle a junior who is slow? (Senior signal)

I first look for causes: unclear tasks, missing context, tasks that are too big, or a missing skill. I give smaller tasks with clear goals, do a short pairing session, and check in often at the start. I praise visible progress. If the problem continues after clear support, I talk to the manager. I try never to take over silently, because that teaches nothing and hides the real problem.

What would you do in your first weeks as a team lead? (Senior signal)

Listen first. Meet each person one-to-one and ask what slows them down. Read the code and recent incidents to learn why things are the way they are. Find one or two quick wins that remove daily pain (a slow build, a flaky test). Agree on a few simple working rules with the team (review time, how we decide, how we write decision notes). I would not change many things at once, because trust is built by small, kept promises.

How do you make sure new people become productive quickly? (Senior signal)

I make sure the repository can be set up with a few commands, and the README says how. I prepare a first small task that touches the real release path. I give them a buddy, explain why things are built the way they are, and ask them to write down what confused them, then fix those docs. I check in often in the first weeks. A new person's questions are the best test of whether our documentation works.

Key takeaways

  • In an incident: stop the damage first, name one coordinator, send short regular updates.
  • Blameless means "how did our system let this happen?", not "nobody is accountable".
  • End a postmortem with a few actions that have an owner and a date, and check they were done.
  • Use delivery measures (frequency, lead time, failure rate, recovery time) to find process problems, not to rank people.
  • Give context, not only tasks. Delegate with one clear owner.
  • Teach before you rescue: ask "what have you tried?" and give the smallest helpful hint.
  • Give hard feedback soon, in private, about a specific thing, and agree one change to try.
  • In your first weeks as a lead: listen, learn why things are as they are, fix one daily pain, and change little at once.
  • This is common practice and opinion. Adapt it to your team.

What's next

Next: Design docs, RFCs and writing things down, Lesson 5, then technical debt, laws, people, hiring and stakeholders in Lessons 6 to 10, and the sources in Lesson 11. Practise out loud first: record yourself on three questions from Lessons 0 to 4 and listen for "everyone uses it", "I just felt" and missing risks. Then revisit the story shapes in Experience round, Full-Stack Lesson 14.

Published by Jainik · Last updated · How these lessons are made

Keep learning

Related lessons

Part of the study guide

Related series