Hi All
I’ve noticed something odd on how Umbraco Cloud handles its environments, and wanted to confirm something.
We have a setup where we edit a bitbucket repo, which pushed changes to staging through DevOps pipelines, which are based on the official Umbraco ones here.
We recently had to push a patch to the staging instance to fix some recurring downtime. To do this, I cloned the cloud staging repo, made my code changes, and pushed them directly to master. This seemed to solve the issue, all was well. I applied the same fix to my local repo.
A few days ago, I went to make some more changes through the standard route (apply edits to bitbucket repo, get DevOps to push them to the site). But I got an error about mismatching code during the cloud sync, it started “error: while searching for:” and mentioned code which was correct *pre downtime-fix.
*
My question is: Does Umbraco Cloud have some shadow copy of the live environment, which is requested during cloud sync and not effected if the repo is altered directly? This seems to be the case.
I’d also like to know the purpose behind the cloud sync step, as it doesn’t seem to apply changes, only throw errors if things don’t match. We actually have one project where we disabled this step, and deployments run faster and with fewer errors