I recently made a string of silly mistakes related to a particular project that led to a few bugs being deployed to production. I think I incrementally got more and more overwhelmed and stressed by the project because my initial fix caused a bug and from there I fixed that bug and inadvertently caused others.
I'm concerned about how this might play out with my EM. How I can best approach owning this set of silly mistakes without it having a negative impact on my reputation due to my low code quality mistakes partly caused by the stress of the situation?
My tech lead asked me to write up a mini bug report for our our engineering retro and this morning my EM was asking about what the report was for because I had written it down as part of my weekly goals in our stand ups. My EM has low context on the complexity of the work we do and is far from the code - tending to over index on any signal he come across.
I just went through my performance review and I'm meeting expectations so I don't have a formal review for a while. I'm about to go on vacation for a while so I'm hoping this fades into the past but still I'm not sure exactly how to play this now so it comes out in my favour before I go away.
This is easier said than done, but don't worry too much about it and learn from them. From what I gather from your context, it doesn't seem like anybody is explicitly mad at you, and your tech lead is off to a great start asking you to write something formal for reflection to go through in the retro, an exercise that is entirely built to help teams learn and grow from past mistakes.
Something I really learned about at Meta is blameless culture. The idea is that when a mistake is made, the goal isn't to pin it to some person and attack them for it, it's to focus solely on learning from it instead.
Every team should follow blameless culture principles - It's better for team synergy and mental health, and it encourages people to share their mistakes instead of potentially hiding them and letting them fester (super dangerous with prod issues). You can be a champion of this culture by not feeling bad about your own mistakes, focusing that mental energy on learning instead, and being kind and understanding to others when they make mistakes.
How I can best approach owning this set of silly mistakes without it having a negative impact on my reputation due to my low code quality mistakes partly caused by the stress of the situation?
The best way is to show how extremely serious you are about learning from this situation - Make that retro write-up awesome and chock full of action items. Here are some ideas:
At the end of the day, this is the mentality to have:
When you do that, you will grow at lightning speeds!
What's a "mini bug report"? Does it also include a retrospective of what happened, how it could have been avoided, and what safeguards you will take in the future to prevent it? In my opinion, a retrospective doc would help a lot in conveying the complexity of what you were working on, showing ownership of your mistakes, and demonstrating leadership and accountability by planning out and implementing the safeguard(s). Any reasonable manager would know that mistakes happen. If they have been in the industry for a while, they have seen their fair share of mistakes done by the smartest of engineers, and most likely they have been part of their fair share of mistakes too. It's what's done after the mistake that counts.
Something else I wanted to mention when it comes to blameless culture is that it's very much a phenomenon where you need to be the person you want others to be.
For a lot of folks, this empathy feels radical and unintuitive - I'm sure many people here have felt the judgment from adults when you accidentally broke something as a kid. This means that if you want your team to have blameless culture, it's extremely important that you champion the principle yourself and show deep kindness to your teammates when they mess up.
Some of these may feel a bit extreme as Meta was very big on blameless culture, but here's what I did when my teammates made mistakes, especially if they were my mentees: