I've been testing my multi-app application to address some performance issues (related to a separate thread here in the community forum). I was clicking back and forth between apps using links in my header module and links in table row actions. Using "edit" mode, not "preview" mode in my staging environment.
Without making any changes my main app was suddenly completely replaced by what I think was a retool template used for kickstarting development:
^^ This is not my app, this is what my app suddenly was replaced with ^^
I have been seeing a green header app briefly appear when my app is loading in edit mode. It is grayed out and looks like a loading placeholder and is previously replaced by my actual app when the editor loads.
This flashes briefly before my app loads normally. It's quick, I had to screen record to catch it for this screenshot.
This time was different - the app in the first screenshot above had replaced my app completely. Navigating away and back (and opening the app from the main Retool menu in edit mode) showed that my app had been replaced with this green header template.
This new green header template wasn't in the deployed version which still showed my actual app, so I checked the version history even though I hadn't made any changes intentionally.
I found several changes that I didn't make in my edit history for "Run Migrations" and "Minor Changes" (highlighted in the screenshot above). Reverting to my previous released version fixed the issue and restored my app. I reverted again to one of the "Run Migrations" changes to double check this is what caused the issue and my app was once again replaced by the green template.
My issue is resolved and I'm back to working on my app, but seeing it auto-"migrate" to a template was quite strange. Sharing in case anyone else comes across this issue and or if it's worth some prevention.
I'm using
- Retool Cloud V3.50.0-a6ac5e6 (Build 1702460
- Chrome Version 124.0.6367.91 (Official Build) (arm64)
- macOS 14.4.1 (23E224) (Macbook AIr M1 from 2020)