Practice ยท 2 of 3
Rollback or Fix-Forward
Write respond(incident) โ incident is { dataLoss: bool, fixReady: bool, mitigationWorks: bool }. Rules: if dataLoss => "rollback" always (protect data first). Otherwise if mitigationWorks && fixReady => "fix-forward". Otherwise if mitigationWorks && !fixReady => "feature-off" (ship the mitigation now, fix later). Otherwise => "rollback".
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: Release Engineering โ Practice