Spokalyالإنجليزية تبدأ من السمع
Job interviews · Software developer · Advanced

DevOps Engineer: A Bad Release and a Blameless Reviewمقابلة مهندس DevOps: إصدار فاشل ومراجعة بلا لوم

  • Adel
  • Sara
0:00 / 2:32
The coloured strip is split by speaker, so you can see who talks and when.

Transcript

  1. Adel
    Thanks for coming, Sara. I'd like to hear about a time something went wrong in production. Choose a real example.
  2. Sara
    Sure. A year ago we released a new version of our checkout service on a Thursday afternoon. Within ten minutes, the error rate went from one percent to about twenty percent, and customers couldn't pay.
  3. Adel
    What did you do first?
  4. Sara
    First I confirmed it with the dashboards, so I wasn't guessing. Then I told the team in the incident channel that I was taking the lead. We decided to roll back first and investigate later, because customers were affected.
  5. Adel
    How long did the rollback take?
  6. Sara
    About six minutes. We had kept the previous image and used the same pipeline, so it was one command. Without that, it would have taken much longer.
  7. Adel
    What was the cause?
  8. Sara
    A configuration value for the payment provider's timeout was missing in the production environment. It existed in staging, so our tests passed. The new code failed when it didn't find it.
  9. Adel
    What did you change so it wouldn't happen again?
  10. Sara
    Three things. First, the pipeline now checks that all required configuration values exist in each environment before it deploys. Second, we started canary releases, so a new version first gets five percent of traffic, and it rolls back automatically if errors rise. Third, we stopped releasing late on Thursdays.
  11. Adel
    Isn't a canary more work to maintain?
  12. Sara
    Yes, it needs good metrics and alert rules, and it takes time to set up. But for a service that handles payments, the extra safety is worth it. For a small internal tool, I might not do it.
  13. Adel
    How did you run the review afterwards?
  14. Sara
    We held a blameless review within three days. We wrote the timeline, asked what in the system made the mistake easy, and not who made it. I also wrote down my own part. I'd approved the release without checking the production configuration.
  15. Adel
    Why include your own part?
  16. Sara
    If the lead hides their mistakes, nobody else will share theirs. Being honest makes people feel safe to report problems early.
  17. Adel
    One last question. How do you handle secrets, like database passwords, in the pipeline?
  18. Sara
    They are never in the code or in the image. They live in a secrets manager, and the service reads them at start-up. Access is limited by role, and we rotate them regularly. If I'm not sure about a specific tool, I'd check the documentation first.
  19. Adel
    Thank you, Sara. That was a clear example. We'll be in touch next week.