GitLab webhook is accepted but does not start an Automation

GitLab webhook is accepted but does not start an Automation.

Mail sent to [email protected] with full details - Automation: 1e4f0242-ce0b-11f1-89ee-7aa6f0729b11

Created: 2026-10-22T13:31:31.849Z

Webhook: POST https://api2.cursor.sh/gitlab_webhook

Response: HTTP 200

Result: no automation run and no reaction on the note

The same connection does start Bugbot for @bugbot review.

A dashboard Test run of this automation also succeeds.

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)?

  • Editor, Tab & Chat (autocomplete, Composer, in-editor agent)
  • Terminal & commands
  • Models, pricing & API keys (availability, Auto/Max, BYOK/Bedrock)
  • MCP & tools
  • Cloud Agents & Automations (cursor.com/agents, scheduled/event)
  • BugBot & Code Review
  • Cursor CLI
  • Cursor Mobile
  • Remote (SSH / Dev Containers / WSL)
  • Account, billing & login
  • Something 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!

  1. …
  2. …
  3. …

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!

Hey @hannes.coetzee,

Your GitLab setup and automation are configured correctly. The note reaches us and matches your automation’s trigger, but the run then fails to start because of a server-side issue on our end. It began on October 21 and affects automations triggered by GitLab events. Bugbot and dashboard test runs take a different path, which is why those still work.

I’ve flagged this to the team. You don’t need to change your automation, its trigger or its comment filter, and there’s no need to recreate it again.

In the meantime, you can start the automation manually from its page in the dashboard (the same way you ran the test) when you need a review on a merge request. We’ll update this thread once GitLab-triggered runs are working again.

Adding another data point: this also affects Agent SDK deployments, not just dashboard Automations.

Setup: Agent SDK 0.6.0 project with a gitlabChannel({ cursorAccount: { projects: [“path/to/project”] } }) and an onMergeRequest hook. It was deployed through Automations → Import from Code (architecture v2), and agent-sdk deployment get shows status: running and watching: SAML single sign-on. This is GitLab.com, not self-hosted.

What happens: The Cursor project webhook (api2.cursor.sh/gitlab_webhook?app_id=…) returns 200 for every merge request event: open, plus several update events where the draft flag flips from true to false.. None of them reach the deployment:

  • The onMergeRequest hook never runs. The first thing it does is write a record to ctx.host.kv, and reading that key back through a hosted session returns empty.
  • The deployment has zero sessions from GitLab events.
  • Its GitLab API calls never happen.

Manually created sessions on the same deployment run fine and can read storage, so hosted intake works. Only GitLab event delivery is missing.

Started: we first deployed on 2026-11-03, so we can’t say whether this ever worked for Agent SDK deployments. It matches the Oct 21 issue described above.

Happy to share the deployment ID privately.

Update:

We also tried a GitLab project webhook straight to the deployment’s alias URL (/v1/channels/gitlab/ with X-Agent-Alias-Token and a named GITLAB_WEBHOOK_SECRET, channel declared with publicEndpoint()). Every request returns 404 {"error":"Not found"}, including GET /v1/info with a freshly rotated alias token, and deploy prints no public: routes. So the alias doesn’t seem reachable externally either, and we couldn’t work around the GitLab routing issue.

I am seeing a similar issue with self-hosted GitLab.

GitLab has disappeared from the Automations trigger picker, although my older automations still display their saved GitLab triggers.

As a workaround, I deployed an Agent SDK 0.6.0 project through Import from Code, using architecture v2 and a GitLab MR-opened trigger. The deployment reports running, and GITLAB_WEBHOOK_SECRET is configured.

However, testing a merge request webhook against the Share API endpoint with /v1/channels/gitlab/ appended returns HTTP 404:

Route POST:/internal/agentsdk/agents/<deployment-id>/engine/v1/channels/gitlab/ not found

The request reaches Cursor’s server, but no agent session starts. I cannot confirm whether the MR trigger is evaluated at all.

Is this endpoint supported for direct GitLab webhooks on hosted v2 deployments? Could this be related to GitLab disappearing from the trigger picker?