Create Project repository picker only searches a locally cached ~200-repo list, hiding most org repositories

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Title

Create Project repository picker only searches a locally cached ~200-repo list, hiding most org repositories

Where does the bug appear (feature/product)?

Projects (desktop client) — Create Project → Workspace → Select Repository

Describe the Bug

In the desktop Create Project dialog, the repository picker cannot find valid
repositories that my account and the Cursor GitHub App both have full access to.

Typing an exact repository name returns “No results found”, while leaving the
search box empty shows a long list of other repositories.

Root cause appears to be a capped client-side cache. The key
cloudEnvironmentTemplate.githubRepos in
~/Library/Application Support/Cursor/User/globalStorage/state.vscdb
contains only 214 entries (13 personal + 201 organization). The GitHub
organization has 454 repositories, all of which the Cursor GitHub App can
access (installation configured with “All repositories”). 254 org repos are
absent from the cache, and the picker’s search appears to filter only this
cached set rather than querying server-side.

The omission is not alphabetical truncation. The cached set spans early-alphabet
through late-alphabet names and includes repositories that sort immediately
after the missing target. Other active org repositories created this year are
also missing.

What I ruled out

  • Cursor GitHub App installed on the organization, repository_selection: “all”,
    not suspended
  • Cursor GitHub App also installed and authorized on my user account; GitHub
    confirms it is installed on both the user and the organization
  • SAML SSO session active; no pending org-access grant
  • Org OAuth app policy not applicable (Cursor is a GitHub App)
  • Org IP allow list disabled
  • Target repo confirmed present and accessible (private, admin permissions,
    pushed the same day)
  • Repo also successfully mirrored into Origin; origin repo view reports
    “Mirror status: inbound”, created the same day
  • Client restarted after the repo existed, so this is not a startup-timing issue

Steps to Reproduce

  1. Belong to a GitHub org with more than ~200 repositories
  2. Install the Cursor GitHub App on the org with “All repositories”
  3. In the desktop client, open Projects → Create Project
  4. Click Workspace → Select Repository
  5. Type the exact name of an org repo that falls outside the first ~200 fetched
  6. Result: “No results found”, though the repo exists and is accessible

Expected Behavior

The repository picker should search all repositories the Cursor GitHub App and
the signed-in user can access — via server-side search or paginated fetch —
rather than filtering a truncated local cache. If the list is truncated, the UI
should indicate that rather than reporting “No results found”.

Actual Behavior:
Approximately 56% of the organization’s repositories (254 of 454) are
unreachable from the Create Project dialog, with no indication the list is
incomplete.

Operating System

MacOS

Version Information

Cursor 3.20.21

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey @Frank_Stutz, thanks for the detailed report.

You have this right: the desktop Create Project picker currently only loads the first 200 repositories per GitHub installation and then searches that list locally, so repos past that point never show up even though the Cursor GitHub App can see them. This is a known issue on our side and I have added your report to it.

Two ways to get the repo into the picker in the meantime:

  1. Go to cursor.com/agents in your browser, search for the repository there (that picker searches server-side and will find it), and start a cloud agent on it. After that, reopen Create Project in the desktop app and the repo should appear in the Select Repository list.
  2. Alternatively, clone the repository locally and open that folder in the Cursor Agents window first, then open Create Project again. Once the desktop app has verified access to a repo it has open, it adds it to the list even if it is beyond the first 200.