How we completed a huge refactoring of a software used by thousands of developers without breaking things.