I want to start a new cloud agent session, but I don’t have any branch to choose from. Searching also does not reveal anything.
I’m using a private gitlab repository. If I try the same thing through the web app, it works and it shows me all branches. Once I started the session through the web, I’m able to use it in my Cursor IDE again.
Also interesting: for some projects on the same gitlab.com group, it works, for some not.
Steps to Reproduce
Start a new cloud agent session. Try to select a branch
Expected Behavior
All my branches should be shown as in the web app.
What you’re seeing isn’t intended behavior, and it isn’t anything you’ve misconfigured. The IDE branch picker only sees GitLab projects that have already been picked up on the web side, which is why some projects in your group work and others don’t.
Your workaround is the right one, and you only need it once per project: open that repo on cursor.com/agents (starting a session there does it; just loading the repo list may be enough), and the IDE picker should work for it after that.
We’ve let the team know and this is an issue we’re tracking. I’ll post here when there’s an update.
@nerumo we’ve made a change on our side so GitLab projects where you have Developer (not Maintainer) access get picked up by the Cloud Agent branch picker. It’s rolling out gradually.
Until it reaches your team: have someone with Maintainer access on that GitLab project (or you, if you can raise your own role to Maintainer on it) open the repo list on cursor.com/agents once. That should register the project so its branches load in the IDE.