Cursor Bugbot GitLab Integration

Where does the bug appear (feature/product)?

BugBot

Describe the Bug

I’m using Bugbot with GitLab, and I can see several requests appearing under the GitLab webhooks section. Why are these requests being triggered?
I want to make sure the same MR is not causing Bugbot to run multiple times unnecessarily.

Steps to Reproduce

Just open a merge request

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 3.2.11

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi there!

Thanks for flagging this! Are you looking at the Webhooks defined for a single repo?

Multiple Cursor entries can show up here if Bugbot was enabled on the repo more than once (for example, enabled by one user, then re-enabled later, or two enable actions running concurrently). Our install path tries to dedupe, and does on a normal re-enable, but a couple of edge cases could still leak an extra entry.

This does not cause Bugbot to run multiple times on the same MR. Each webhook entry is installed with its own secret, and Cursor only accepts events signed with the most recently issued secret for that repo. If you check webhook deliveries for these webhooks, you should see some failures if they’re actively running.

If the failed-delivery noise in the GitLab UI bothers you, the cleanest fix on your side is:

  1. Delete all of the https://api2.cursor.sh/gitlab_webhook?app_id=… entries on the project’s Webhooks page.
  2. In Cursor (dashboard → BugBot → this repo), toggle BugBot off and back on. Webhooks wil get reprovisioned.

This is helpful