Hi Florin,
Sandbox should be latest copy from Production. This is will help you identify potential problems that may appear in Production environment.
The issue faced and respective solution can be implemented in DEV and QAS environments during upgrade as applicable.
Hope this helps.
Regards,
Deepak Kori