utopia
utopia copied to clipboard
Reverting an individual file via the github pane is very slow, and causes UID errors
It looks like the issue is happening in revertGithubFile here: https://github.com/concrete-utopia/utopia/blob/dc960f8fa1a63a7c01b71b50d09e9eb045a92a1b/editor/src/core/shared/github/helpers.ts#L523-L526 This is parsing the entire old version of the project, using the exisiting UIDs: https://github.com/concrete-utopia/utopia/blob/dc960f8fa1a63a7c01b71b50d09e9eb045a92a1b/editor/src/core/shared/parser-projectcontents-utils.ts#L191-L204
It looks like this problem was indirectly fixed by other work – or we couldn't find it happening again. We'll reopen in case slowness manifests again.