I have a new-feature branch containing over a week of work, but Bubble’s branch comparison appears to be wrong.
Originally, Bubble said a global expression had been removed from main, even though it still existed and worked there.
To try to move forward, we eventually decided to remove that expression from main and create a replacement global expression because it was only used in two places. We updated those two usages to use the replacement and confirmed that everything worked correctly in main.
Now, when I sync main into new-feature, Bubble correctly identifies the original expression as removed—but completely omits the replacement expression. It detects other newly added global expressions, just not this one.
I also tested merging from a fresh branch created from main, with exactly the same result.
I could complete the sync and manually repair the expression in new-feature, but I’m concerned about what will happen when I later merge new-feature back into main. I also don’t know whether this is the only omitted change.
Has anyone encountered this? What is the safest process for recovering the new-feature branch without losing its work or overwriting valid changes already in main?