I access an app page from he browser on the main branch & latest version. I want to edit this app by creating a new branch from the main branch version.
Issue:
When creating the new branch from the main branch the app shows error messages that I am behind the latest version and indeed when opening a pull request Retool is reverting recent changes made to this app.
Example: The main branch shows 4 commits A, B, C, D (HEAD). I would expect when creating a new branch to have the branch originating from commit D but I end up on commit B.
Retool version & hosting setup (Docker, K8s, cloud provider, etc.):
Retool version: 3.253.6
Setup: Self hosted on K8S with GitHub integration
Error message(s) or screenshots:
Your editor is behind the latest version of this app. The current edit you made and any future edits you make will be lost. Please refresh the page.
What I’ve tried so far:
I have to edit Retool app from an IDE instead of web browser if I want to have GIT working properly.
Are you using releases in the Retool app to create the branch where you are seeing the error that you are behind the latest version? Or are using a third party tool for source control such as Github?
So after you open the pull request, the app reverse to the previous commit of B, is there a chance that commits C and D were not merged successfully? Can you share the history of the successful commits?
I always create new branches from the Retool app directly but we use the GitHub integration to review pull requests before merging into the main branch.
Commits C & D were merged successfully and actually on some pages I can create a new branch from main which will correctly pick the commit D, but on some other pages it will take an older commit (B for example). It is really specific to some pages but after review of their settings pages affected by this bug do not seem to differ from working pages in term of configuration.