With the SF upgrade from 2026.1 to 2026.2 there are quite some model changes that need to be handled if you have dynamic code. After upgrading, it took me half a day to make/test these modifications in our models, during this time the SF was unavailable for other team members because generating full model definitions was not working.
This made me wonder what the best practice is to handle SF model changes in dynamic code when upgrading? Specifically aimed at reducing the SF downtime as much as possible.
I was thinking of making a branch before upgrading to apply the changes in, but you’d have to do that for each base model that has dynamic code that needs to be changed. And you can’t really execute/test it unless you make a copy of the SF and upgrade the copy, and then you have to maintain changes in two SFs. This makes the process quite tedious. Is there a better way?

