Name (optional) gitlab-ai-reviewer Description (optional)… · The Chat Archive
Explore llama-4-maverick-03-26-experimental · Meta LMArena Human Preference 140KName (optional) gitlab-ai-reviewer Description (optional) URL… Save Share Download ▾ ReportFrom a Chatbot Arena battle The same person sent this prompt to two anonymous models at once. Compare it with chatgpt-4o-latest-20250326 ’s answer. Name (optional)
gitlab-ai-reviewer
Description (optional)
URL
http://example.com/trigger-ci.json
A URL is required.
The URL must be percent-encoded if it contains one or more special characters.
Secret token
Used to validate received payloads. Sent with the request in the X-Gitlab-Token HTTP header.
Custom headers
0
No custom headers configured.
Trigger
Push events
All branches
Wildcard pattern
Regular expression
Tag push events
A new tag is pushed to the repository.
Comments
A comment is made or edited on an issue or merge request.
Confidential comments
A comment is made or edited on a confidential issue.
Issue events
An issue is created, updated, closed, or reopened.
Confidential issue events
A confidential issue is created, updated, closed, or reopened.
Copy first prompt Copy first response
Other models, same or similar prompt Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Details Model llama-4-maverick-03-26-experimentalProvider Meta
Model provenance As recorded by source dataset
Turns 1 (2 messages)
Language en
Added to archive Nov 16, 2026
ID 01m7jf81sepwsf5t8q6e6za3k9Source & license Imported from LMArena Human Preference 140K (source ). Imported records earn no Research Points.
Upstream record: 2524d12c-4d29-4d5d-a34a-4d169ff0ca11:b
Chiang et al., Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preference (2024). LMArena 140K preference release.
License: Prompts CC-BY-4.0; outputs governed by provider terms
Dataset releases Not yet included in a published release.
Merge request events
A merge request is created, updated, or merged.
Job events
A job's status changes.
Pipeline events
A pipeline's status changes.
Wiki page events
A wiki page is created or updated.
Deployment events
A deployment starts, finishes, fails, or is canceled.
Feature flag events
A feature flag is turned on or off.
Releases events
A release is created, updated, or deleted.
Emoji events
An emoji is awarded or revoked. Which emoji events trigger webhooks?
Project or group access token events
An access token expires in the next 7 days. Which project or group access token events trigger webhooks?
Vulnerability events
A vulnerability is created or updated.
Custom webhook template (optional)
How to create a custom webhook template?
SSL verification
Enable SSL verification
how get URL and remaining
AssistantCopy response Let's break down the steps to configure the GitLab webhook and obtain the required URL and settings.
Step 1: Deploy Your Cloud Function (Webhook Handler)
First, ensure your Cloud Function (webhook-handler) is deployed and accessible via a public URL. Here's how to get the URL:
Via Google Cloud Console :
Via gcloud CLI :
Run the following command:
gcloud functions describe webhook-handler --region us-central1 --format="get(url)"
Output:
https://us-central1-your-project-id.cloudfunctions.net/webhook-handler
This is your URL for the GitLab webhook.
Step 2: Configure Secret Token
Generate a Secret Token :
Update Your Cloud Function Environment Variable :
Redeploy your Cloud Function with the token:
gcloud functions deploy webhook-handler \
--trigger-http \
--allow-unauthenticated \
--set-env-vars="GITLAB_WEBHOOK_TOKEN=Gp4f9L8zXbRqM7yHj3aK2eW1dV6cN5tF"
This is your Secret token for GitLab.
Step 3: Fill Out GitLab Webhook Form
Now, let's fill out the GitLab webhook configuration form:
Name : GitLab AI Reviewer Trigger
URL : https://us-central1-your-project-id.cloudfunctions.net/webhook-handler
No percent-encoding needed unless your URL contains special characters (e.g., spaces or &).
If it does, use an online tool like this .
Secret token : Gp4f9L8zXbRqM7yHj3aK2eW1dV6cN5tF (the one you generated).
Trigger :
Select : Merge request events (this is the primary trigger for your AI reviewer).
Optionally, also select:
Push events (if you want to trigger on code pushes).
Comments (if you want to respond to reviewer comments).
Branches :
Select All branches (or use a wildcard like main, feature/*).
SSL verification :
Enable SSL verification (since Cloud Functions URLs have valid SSL certs).
Leave other fields (Custom headers, Tag push events, etc.) as default.
Here's a screenshot for reference:
[image: GitLab Webhook Configuration] open
Field Value Name GitLab AI Reviewer TriggerURL https://us-central1-your-project-id.cloudfunctions.net/webhook-handlerSecret token Gp4f9L8zXbRqM7yHj3aK2eW1dV6cN5tFTrigger ☑️ Merge request events Branches ● All branches SSL verification ☑️ Enable SSL verification
Step 4: Test the Webhook
Click Test next to Merge request events in the GitLab webhook form.
Select Merge Request from the dropdown.
GitLab will send a test payload to your Cloud Function.
Check your Cloud Function logs:
gcloud functions logs read webhook-handler --limit 10
Look for:
Function execution started
Received merge request event
Function execution took X ms, finished with status code 200
If successful, Save the webhook.
Remaining Configuration (CI/CD Variables in GitLab)
Go to your GitLab Project > Settings > CI/CD > Variables .
Add these variables:
Key Value Protected Masked GITLAB_WEBHOOK_TOKENGp4f9L8zXbRqM7yHj3aK2eW1dV6cN5tF☑️ ☑️ GCP_PROJECTyour-gcp-project-id☑️ ☐ GCP_SA_KEYbase64-encoded-service-account-key☑️ ☑️ GITLAB_API_TOKENyour-gitlab-personal-access-token☑️ ☑️
How to Base64 Encode Service Account Key:
base64 -w 0 path/to/your-service-account.json
Copy the output and paste it as GCP_SA_KEY.
☑️ Cloud Function deployed with GITLAB_WEBHOOK_TOKEN.
☑️ Webhook URL configured in GitLab.
☑️ Secret token matches in GitLab and Cloud Function.
☑️ Merge request events trigger selected.
☑️ CI/CD variables set in GitLab.
Trigger a Test Merge Request:
Create a new branch: git checkout -b test-ai-reviewer.
Modify a file: echo "console.log('Hello AI');" >> example.js.
Commit and push: git push origin test-ai-reviewer.
Open a merge request in GitLab.
Verify :
Cloud Function logs show analysis triggered.
GitLab merge request has AI-generated comments.
401 Unauthorized : Check GITLAB_WEBHOOK_TOKEN mismatch.
502 Bad Gateway : Function timeout; increase timeout in Cloud Console.
No Comments : Verify GITLAB_API_TOKEN permissions (needs api scope).
Now, your GitLab AI Reviewer is fully operational! 🚀