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 viewreports
“Mirror status: inbound”, created the same day - Client restarted after the repo existed, so this is not a startup-timing issue
Steps to Reproduce
- Belong to a GitHub org with more than ~200 repositories
- Install the Cursor GitHub App on the org with “All repositories”
- In the desktop client, open Projects → Create Project
- Click Workspace → Select Repository
- Type the exact name of an org repo that falls outside the first ~200 fetched
- 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