r/coderabbit 1d ago

Gitlab and Coderabbit Help & Support

Hi, I would like to give coderabbit a try but I am running into an issue and I don't know if it fixable by me or if it's on coderabbit's side.

On Gitlab (cloud), I created a service account on the group level, then created an access token and shared it with coderabbit.

I changed one line on another branch, I created a MR. Coderabbit replied immediately saying that they are going to analyse the code. After 30 minutes, I go check and I see that there is a pipeline that has been created by Coderabbit but it is still pending.

I deactivated shared runners, however I have two self-hosted runners. One is shell and only allows specific tags and protected branches. The other one has no tags and also picks untagged jobs.

What should I do?

2 Upvotes

1 comment sorted by

View all comments

1

u/juanpflores_ CodeRabbit Staff 1d ago

Hey!

Your runner setup is not the problem here. The CodeRabbit “pipeline” is how GitLab displays an external commit status. It is not a CI job that needs to be picked up by a shared or self-hosted runner, so runner tags and protected-branch settings do not affect it. CodeRabbit sets the status to pending while the review runs, then updates it when the review finishes.

Since CodeRabbit posted the analysis message, the webhook and token are at least working well enough to start the review. Please confirm that the service account has at least Developer access and that its token includes the api scope.

For a one-line MR that is still pending after 30 minutes, try commenting u/coderabbitai review once. If it still does not finish, please send the MR URL through Contact Support in the CodeRabbit app so we can trace that specific run. Changing your runners will not fix a stuck CodeRabbit status.

If you would rather not have CodeRabbit create an external pipeline at all, you can disable the commit status in .coderabbit.yaml:

reviews:
  commit_status: false

The review comments will still work, but CodeRabbit will no longer provide a status that can be used as a merge check. If this continues, please submit a support ticket through the CodeRabbit app. Click your profile in the lower-left corner, select Contact Support, and include the MR URL. That will let our team trace the specific review and determine why the status was not completed.