No worries! Hopefully we can figure this out for you.
I initially suspected that the state of your app may have been overwritten by a faulty save, but that doesn't seem to be the case after my initial investigation. There is little to no change in its size between the edits made on 4/21 and 4/28, which line up well with the times you mentioned working on the app. Can you try reverting to a previous state in the app history once more, just to confirm that the error you're seeing is consistent? If that doesn't work, you can also try reverting via the _historyOffset URL parameter.
is there an update on whether this problem has been diagnosed/will be fixed? I'm the only one working on my own Retool app and every day or so the app will randomly lose all changes from the past few minutes, up till around an hour. Usually reloading the website a couple times brings it back, but there have been instances where I didn't notice that something was gone, and made more changes on top of the outdated version, and lost a bunch of work permanently. The version history never seems to show the lost changes whenever this happens.
Hey @NathanTew - I'm guessing you're on a cloud instance, but can you confirm that? At a high level, we've identified a few different vectors for possible data loss and have introduced certain stopgap solutions, but are still investigating some of the root causes.
Whenever the IDE detects that it's out of sync, for example, you should see a screen similar to what I've shown below.
The most common cause, by far, is simultaneously editing the app across multiple tabs, but there might be something else going on if you're experiencing this so consistently!
I seem to be experiencing this major data loss issue on multiple apps - Opening them and they are simply empty
I've closed everything out and opened one of my apps
I can revert to a previous version before 'ran migrations' and I get my app back - I then created a release when it was 'working' - But if I refresh the page, I go back to an empty app.
I'm also having containers fail with errors of "Error: Unexpected end of input"
EDIT: Error: Unexpected end of input is being triggered by any container that has a chart component in it - I'm also unable to add any chart components to apps, but I can add other components.
Hitting the reload button doesn't do anything and obviously if I refresh the page, I go back to an empty app. Unclear whether this is two separate bugs or related, but the combination of needing to refresh a page and the refresh clearing the app is quite the combo move
We are on a cloud instance
EDIT 2 : This issue seemed to resolve itself - unclear root cause
What happened: Changes made by myself in the morning were lost/overwritten when another developer accessed the same application later that day
When it happened: Approx. 13th August 12pm AEST (Retool Cloud)
Browser/OS: Chrome
Steps to reproduce: Dev 1 make changes to the application, closes retool. Dev 2 comes along later that day and continues working on the application. Some of the changes made by Dev 1 are overwritten, even though Dev 2 didn't touch the original enhancements Dev 1 made. Its like a "cached" version on Dev 2's browser overwrites Dev 1's changes.
This has happened multiple times in the last couple of weeks. Sometimes only a small set of changes are lost, other times is more significant. Its very frustrating and you lose confidence that your work will be retained or not.
E.g. changes I'd made to tableClientActivites were overwritten by Igor, even though he didn't make any edits to that table. We both weren't in the application at the same time. And we both only had one tab while working on the Retool application.