Bug: "Rebase branch" only shows only after refresh #191285
Replies: 3 comments
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
Hi @nbolton, this definitely looks like a UI race condition or a state-syncing glitch. It seems the frontend is defaulting to the standard 'Update branch' button before fully loading your repository's 'Rebase only' merge settings. (If this helps, please Mark as Answer.) |
Beta Was this translation helpful? Give feedback.
-
|
hi @nbolton Yeah, this does look like a UI/state-sync issue on GitHub’s side. Since the repo is set to rebase only, the PR should really show “Rebase branch” straight away. The fact that it first shows “Update branch” and then changes after refresh makes it feel like the page is rendering a default action before the repo/PR merge settings fully load. I’d probably sanity-check it in:
But if it’s reproducible, I’d treat this as a real frontend bug rather than a repo config issue. My guess: initial page load is using a generic fallback button, then after refresh or after the PR state fully resolves, it switches to the correct action. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
Body
On an out of date PR: Does anyone else always see the "Update branch" button the first time a PR page loads, then on refresh it shows the "Rebase branch" button instead?
Our project only allows rebase, not squash or merge. I believe this bug only affects projects with this PR merge configuration.
First page load:

After page refresh:

PR merge settings:

Project: https://github.com/deskflow/deskflow
Beta Was this translation helpful? Give feedback.
All reactions