A bad migration commit was deployed. Walk through your response in the first 15 minutes.
IntermediateProductionRecovery and incident handling
Answer
Stop the bleeding first: roll back the artifact to the previous digest or toggle the flag. Declare an incident and assign roles. Then revert the commit in Git through a fast-track PR so main matches production, and only after service is stable investigate and fix forward. Do not debug while the site is down.
More on Recovery and incident handling
Someone force-pushed over main and 12 commits vanished. How do you recover?IntermediateAfter recovery, what do you change so a force-push to main cannot happen again?AdvancedHow do you recover a deleted repository or branch on GitHub?IntermediateHow do you find who or what pushed a specific commit to a protected branch?AdvancedCI is red on main after a merge. What is your policy?IntermediateA teammate rebased a shared branch and now everyone has duplicate commits. How do you repair it?Advanced