Where does the bug appear (feature/product)?
Cloud Agent (GitHub, Slack, Web, Linear)
Describe the Bug
repositoryDependencies only expands the scope in the GitHub Organization of the repository the environment is spun up in - even if another organization’s repo is linked and they are part of the same GitHub Enterprise
Steps to Reproduce
Prerequisites
Two distinct GitHub Organizations (Org A and Org B) that belong to the same GitHub Enterprise.
One repository in each organization (e.g., Org-A/primary-repo and Org-B/dependency-repo).
The user must have access to both repositories. Cursor must be connected to both orgs.
Steps to ReproduceConfigure the Environment:
In Org-A/primary-repo, define the environment.json for Cursor and add the cross-org repository to the repositoryDependencies
{
“repositoryDependencies”: [
“github.com/Org-B/dependency-repo”
]
}
Launch the Environment: Spin up the Cursor environment for Org-A/primary-repo.
Attempt to clone - failure.
Expected Behavior
I would expect that setting repositoryDependencies for another org’s repo in my enterprise adds that repo to the scoped token in Cloud Agent.
Operating System
Other
Version Information
Cloud Agent
Does this stop you from using Cursor
No - Cursor works, but with this issue
