Where does the bug appear (feature/product)?
Background Agent (GitHub, Slack, Web, Linear)
Describe the Bug
I am trying to use Automations with Self Hosted Cloud Agents, and I cannot specify the branch when connecting to Gitlab self hosted repos. When I try without a branch, the github actions was giving the following error:
Run HTTP_STATUS=$(curl -s -o /tmp/response.txt -w “%{http_code}”
HTTP Status: 400
{“success”:false,“error”:“Automation f2afca15-5573-426d-9d28-e0838ea28688 does not have a branch configured and could not resolve the default branch.”}::error::Cursor webhook returned HTTP 400
Error: Process completed with exit code 1.
When I added the branch as a query parameter inside the automation webhook url, it stopped giving this error but began giving a internal error, and it appeared on cursor failed runs with:
Webhook event
Automation failed
The automation run failed due to an unexpected error. Retry the run and contact support if the problem persists.
Also, there is another bug, I can’t turn on the option “Require Self-Hosted Pool for All Cloud Agents”. It turns on and immediatly goes to off.
Steps to Reproduce
I am trying to use self-hosted agents with Automations via github webhooks
Expected Behavior
It should work or give a more readable error message.
Operating System
Windows 10/11
Version Information
Web/Cloud Agents (Self-hosted)
Does this stop you from using Cursor
Yes - Cursor is unusable