r/django • u/kristianfaber • 19h ago
How much rollback infrastructure is reasonable for a small app?
Had one of those deployments recently where everything looked fine until I started clicking around and realized I'd broken something that had nothing to do with the change I made.
Nothing catastrophic and I fixed it pretty quickly, but it exposed how bad my rollback plan is.
For a small app or tiny team, what do you consider the sensible minimum here?
I don't want to build some elaborate deployment pipeline for a project with modest traffic, but rebuilding the previous commit while something is broken feels like a pretty dumb recovery strategy too.
Ideally I'd like deployments to keep known-good versions around so putting the previous one live is basically an immediate action, then I can figure out what I broke without rushing.
Curious how people handle this before the project is big enough to justify serious DevOps work.