The easiest way around this problem is to have tests and run them before you upgrade your production boxes. It's not that hard to do.