mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Handle critical sync errors on pull

Open wonder-sk opened this issue 7 months ago • 1 comments

In rare cases, it can happen that pull of a project fails for some reason in MerginApi::finalizeProjectPullApplyDiff(). There are multiple cases of critical errors that are not handled, especially the branch that reports server file assembly failed - these errors currently pass silently, and unfortunately user unknowingly ends up with a broken project. Any further pulls and pushes are prone more failures and possible data corruption. We should instead fail early - at the time we detect the pull did not went well - either by marking the local project as broken, or even better by rolling back to the version before the pull.

wonder-sk avatar May 15 '25 09:05 wonder-sk

Probably related issues: #2382 #2394

Withalion avatar Jun 16 '25 14:06 Withalion

Lets park this for a moment and see what we need to fix after the sync v2

tomasMizera avatar Jul 30 '25 07:07 tomasMizera