Cloud Agents require GitHub connection and cannot access GitLab branches

Hi Cursor team,

I’m experiencing issues using Cloud Agents with a GitLab repository.

Where does the bug appear (feature/product)?

  • Cursor IDE
  • Background Agent (Web / Cloud Agents)

Describe the Bug
When trying to use Cursor Cloud Agents with a GitLab repository, the system requires a GitHub connection even though the repository is hosted on GitLab. The UI shows a message stating that Cloud Agents require access to a GitHub account, and clicking “Refresh Status” results in “GitHub access refresh failed.”

Additionally, in the Cursor Web UI I can select the GitLab repository but cannot access or select branches. The branch selector remains empty or unresponsive, which prevents running Cloud Agents against the repository.

Steps to Reproduce

  1. Open a project in Cursor IDE that is cloned from a GitLab repository.

  2. Start a new Agent task using Cloud Agents.

  3. The UI displays: “Cloud Agents require access to your GitHub account.”

  4. Click “Refresh Status” → it returns “GitHub access refresh failed.”

  5. Open the Cursor Web UI and select the same GitLab repository.

  6. Attempt to select a branch → the branch selector does not populate.

Expected Behavior
Cloud Agents should work with GitLab repositories without requiring a GitHub account connection. The system should allow selecting branches from the GitLab repository and starting agent tasks normally.

Screenshots / Screen Recordings
Attached screenshots show:

  • Cursor IDE prompting for GitHub connection while using a GitLab repository
    “GitHub access refresh failed” error
  • Cursor Web UI showing GitLab repository selected but branch selector not working

Operating System
MacOS Tahe Version 26.3 (25D125)

Version Information

Version: 2.5.26 (Universal)
VSCode Version: 1.105.1
Commit: 7d96c2a03bb088ad367615e9da1a3fe20fbbc6a0
Date: 2026-02-26T04:57:56.825Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

CLI:
CLI Version: not used

For AI issues: which model did you use?
GPT-5.3 Codex

For AI issues: add Request ID with privacy disabled
Request ID: e6d64464-a17c-4d5d-875b-c57ffec4201d

Additional Information

  • Repository host: GitLab.com
  • Repository: aquaty-capital/aquaty-frontend
  • Repository works normally when cloned locally via git
  • Issue occurs both in Cursor IDE and Cursor Web UI when attempting to use Cloud Agents

Does this stop you from using Cursor?

  • Yes, cloud agents & environments are mandatory for us
1 Like

Hi there!

We detected that this may be a bug report, so we’ve moved your post to the Bug Reports category.

To help us investigate and fix this faster, could you edit your original post to include the details from the template below?

Bug Report Template - Click to expand

Where does the bug appear (feature/product)?

  • Cursor IDE
  • Cursor CLI
  • Background Agent (GitHub, Slack, Web, Linear)
  • BugBot
  • Somewhere else…

Describe the Bug
A clear and concise description of what the bug is.


Steps to Reproduce
How can you reproduce this bug? We have a much better chance at fixing issues if we can reproduce them!


Expected Behavior
What is meant to happen here that isn’t working correctly?


Screenshots / Screen Recordings
If applicable, attach images or videos (.jpg, .png, .gif, .mp4, .mov)


Operating System

  • Windows 10/11
  • MacOS
  • Linux

Version Information

  • For Cursor IDE: Menu → About Cursor → Copy
  • For Cursor CLI: Run agent about in your terminal
IDE:
Version: 2.xx.x
VSCode Version: 1.105.1
Commit: ......

CLI:
CLI Version 2026.01.17-d239e66

For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)


For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…


Additional Information
Add any other context about the problem here.


Does this stop you from using Cursor?

  • Yes - Cursor is unusable
  • Sometimes - I can sometimes use Cursor
  • No - Cursor works, but with this issue

The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!

thanks! edited :check_mark:

Update: tried another prompt; now it showed at least the GitLab Connection requirement where before only GitHub was. But still failing.

Precondition, I removed the GitHub integration, which was connected before.

I also have the same problem.

Hoping for a quick fix!