مقابلات العمل2:11
مقابلات العمل · مبرمج · متقدّم
خطأ في النظام الحيA Bug in Production
- Ms. Carter
- Noah
0:00 / 2:11
النص
- Ms. CarterThanks for coming, Noah. Let us start with a story. Tell me about a serious bug you handled.
- NoahLast spring, our payment page stopped working for about ten percent of users. It started right after a release.
- Ms. CarterWhat was your first step?
- NoahI did not change any code at first. I checked the error logs and found that the failures came from one type of phone. Then I told my manager what we knew and what we did not know.
- Ms. CarterWhy did you contact your manager so early?
- NoahBecause customers were affected. I wanted the support team to have a clear message while I looked for the cause.
- Ms. CarterAnd what was the cause?
- NoahA small change in how we saved the date. It worked on most phones, but one older version read it in a different format. I wrote a test that showed the problem, and then I fixed it.
- Ms. CarterDid you release the fix right away?
- NoahNot right away. A colleague reviewed it first, and we released it to a few users before everyone. The problem was gone within two hours of the first report.
- Ms. CarterWhat did you learn from it?
- NoahThat a quick test on older phones would have caught it. So I now ask the team to test on older phones before every release. I made that a step on our checklist.
- Ms. CarterHow did you work with the support team during those two hours?
- NoahI sent them a short message every thirty minutes, even when there was nothing new. They told me that this helped them a lot, because they could answer customers calmly and honestly.
- Ms. CarterWas there anything you would do differently today?
- NoahYes. I would ask for a small test group before the first release, not only before the fix. Then we might have found the problem before most customers saw it. Also, I would write down the story of the bug in a short document, so new people can learn from it.
- Ms. CarterDid anyone blame you for the problem?
- NoahNot really. The change had been reviewed by two people, so the team saw it as a gap in our process, not as one person's mistake. I think that made it easier for everyone to speak openly.
- Ms. CarterThat is a clear answer. Thank you, Noah.