Setting up environment in cloud agents fails

Where does the bug appear (feature/product)?

Cloud Agent (GitHub, Slack, Web, Linear)

Describe the Bug

Cloud agent setup cannot be done when we have a lot of repositories. We have hundreds of bitbucket repositories and the setup modal doesn’t show many repos.

Steps to Reproduce

Onboard a bitbucket account with 100s or 1000s of repos.
Try to setup an environment

Expected Behavior

It should filter the repo we are looking for.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

This is the cursor Cloud Agents setup page on https://cursor.com/dashboard/cloud-agents

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Vijay_Britto, thanks for the report.

You’ve hit a known limitation we’re actively working on. With very large Bitbucket workspaces, the repository list in the environment setup dialog loads in pages, and right now it cannot page through the entire workspace, so repos deeper in the list never appear. The search box also only filters repos that have already loaded, which is why it can’t find them.

There unfortunately isn’t a reliable workaround today for repos that never make it into the list. The team is working on server-side repository search for Bitbucket, which will let you find any repo by name without loading the whole workspace.

I’ve added your report to the tracked issue and we’ll follow up here when this improves.