Branch created by copilot not found in list of branches in a PR's 'Choose Base Branch' list or Assign to Copilot's 'Select base branch' list #184356
Replies: 5 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.
-
|
Thank you for the workaround with the branch creation. |
Beta Was this translation helpful? Give feedback.
-
|
It looks like this is related to branch visibility and sync timing between GitHub Copilot’s automated branch creation and the branch list shown in the UI. Copilot creates the copilot/ branch via the API, and sometimes the UI doesn’t immediately refresh to include newly created branches until a manual sync event happens (like creating/deleting another branch or pushing via CLI). A reliable workaround is to push the Copilot branch manually via Git CLI after it’s created, which ensures it appears in all branch selectors immediately. Otherwise, this seems like a UI refresh/timing issue that GitHub may need to address in Copilot. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the workaround - it also worked in my case. Would be nice to get this fixed though. |
Beta Was this translation helpful? Give feedback.
-
|
Experiencing the same issue, I have a branch I can select, but its not on the branch page so I can't get rid of it. Agent created it and I have no accessibility to it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Copilot Feature Area
Copilot Coding Agent
Body
After an issue is assigned to copilot, it creates a PR by adding a new "copilot/" branch.
This new "copilot/" branch is not found in list of branches in another PR's 'Choose Base Branch' list to base some other PR to this "copilot/" branch .
Same problem is seen when trying to assign an issue to copilot in the dialog shown on clicking "Assign to Copilot" - The branch selector 'Select base branch' list does not have this "copilot/" branch .
(Apparently the "copilot/" branch becomes available in above 2 places after another random branch is deleted or created from github.com by the user. Moreover branch not visible behaviour is not seen if a user pushes a new branch from git cli.)
Beta Was this translation helpful? Give feedback.
All reactions