I always have to save code at least in clipboard and sometimes make a screenshot or some other backup of the settings before I deploy a Google Cloud Function, which seems strange to me, perhaps there is a temporary Google backup of it somewhere? If a deployment fails, the Cloud Function is rolled back to the version before deployment (here: version 85) and recent changes that I tried to deploy got lost.
That means, in a Python Cloud Function, I have lost my most recent code in the "main.py", any changes in the "requirements.txt" and even any changes in the environment variables.
Is there a way to go back to the version of my tried deployment and work further from there again?