During an incident you need to ship a hotfix, but GitHub (your CI) is down. What do you do?
AdvancedScenarioOutages and incident response
Answer
Situation read → If your only deploy path depends on one SaaS, its outage becomes your outage. You need a documented break-glass path, planned in advance.
What I'd do →
- First check whether you can mitigate without a deploy: roll back to a previous image (already in ECR), toggle a flag, scale, or fail over. Most incidents don't need new code.
- If you must deploy new code, use the break-glass procedure:
- Build locally or on a designated build host from a known commit, push to ECR with a
breakglass-tag. - Deploy with a break-glass role (time-limited, alerted on use) using
kubectlorhelm, or update the GitOps repo mirror if Argo CD can reach it.
- Build locally or on a designated build host from a known commit, push to ECR with a
- Record everything in the incident channel.
- After CI is back: rebuild through the normal pipeline, replace the break-glass image, and review the access.
Why → A rehearsed break-glass path is controlled and audited; an improvised one at 3 AM is neither.
Interview tip → Lead with "can we mitigate without deploying?"; it usually avoids the problem entirely.
More on Outages and incident response
You're on call and get paged at 3 AM: "Checkout error rate 25%". What do you do in the first 15 minutes?BeginnerA major outage involves four teams and everyone is talking at once. You're asked to be incident commander. What do you do?IntermediateHow do you prove your platform survives the loss of a whole Availability Zone?AdvancedOn-call gets 300 alerts a day and people have started ignoring them. How do you fix alerting?IntermediateA customer told you about an outage on social media before your monitoring did. How do you fix detection?BeginnerDuring an incident, you can roll back or push a forward fix the developer says is ready in 10 minutes. How do you decide?Intermediate