---
title: "Review every merge request and test its preview before it ships"
description: "Merge request review that tests the change: Dev reads the GitLab diff, tests the Vercel preview, checks Cypress and posts a clear review after your OK."
url: https://prosyo.com/ai-agents/use-cases/dev-merge-request-review/
type: use_case
published: 2026-11-26T11:30:40+00:00
updated: 2026-11-26T11:30:40+00:00
author: "Shubham K."
language: en-US
---

# Review every merge request and test its preview before it ships

> Merge request review that tests the change: Dev reads the GitLab diff, tests the Vercel preview, checks Cypress and posts a clear review after your OK.

On a small team, review is where good intentions go to wait. The merge request sits for a day because the one person who knows that part of the code is in meetings. When they finally look, they read the diff, maybe skim the pipeline, and approve. Nobody opened the preview on a phone. Nobody noticed the new button pushes the price below the fold at 390 pixels, or that the empty state now shows “undefined”. Customers find it on Thursday.

Dev does the first, thorough pass every day. It reads the change, tests the running preview the way a user would, checks the test results and writes a review your team can act on. Your human reviewer starts from a checked change and a short list of what matters, so the final review takes minutes and catches more.

## Once a day, on your clock

Pick a time that fits how your team ships. Every weekday at 10:00 catches merge requests opened the evening before and leaves time to fix them the same day. Dev only picks up merge requests that are not drafts and that have new commits since its last review, so it never reviews the same thing twice. For an urgent change, ask Penny in chat: “Dev, review merge request 418 now.”

## What a merge request review covers, in order

1. **Understands the intent.** Dev reads the merge request description and the linked issue first. A review without knowing what the change is for is just a style check.
2. **Reads the diff.** It goes file by file against your checklist: logic that has no test, errors that are swallowed, keys or tokens committed by mistake, migrations that cannot be rolled back, N+1 queries, a feature flag that is on by default, copy that differs from the issue.
3. **Opens the preview.** In its own browser, Dev opens the Vercel preview deployment for the latest commit and walks through the pages the diff touches, at desktop width and at a phone width such as 390px. It fills forms, clicks the new button, tries the empty and error states, and watches the browser console for errors.
4. **Compares with production.** Where a page changed, it looks at the live version too, so “the header moved 12px” is caught whether or not it was intended.
5. **Checks the tests.** It reads the Cypress run for that commit. A failure on a line this change touched is real. A failure in a test that also fails on the default branch with a timeout is flagged as flaky, so nobody wastes an hour on it.
6. **Writes the review.** Blocking issues first, each with the file and line or a screenshot. Then up to three suggestions. Nits go in one grouped comment, or are skipped if your linter already handles them.

## GitLab, Vercel and Cypress, and what each adds

- **GitLab** is where the merge requests, diffs and discussions live. Dev reads them and, after your OK, posts its review as comments on the right lines.
- **Vercel** tells Dev which preview belongs to which commit and whether the deployment built cleanly. If the build failed, Dev reads the build log and says why before anyone opens the page.
- **Cypress Cloud** holds the test results, including which specs failed, how long they took and their history, which is how Dev tells a real failure from a flaky one.

If your previews run somewhere else, Dev can still open any preview URL in its own browser; the deployment details are simply richer when the host is connected.

## What the author sees

One review per merge request, in the merge request itself. It starts with a two-line summary: what Dev checked and the verdict, such as “Two blocking issues, otherwise ready.” Blocking comments sit on the exact line, or carry a screenshot when the problem is visual: “At 390px the ‘Add to cart’ button wraps under the price. Screenshot attached. Likely the new minimum width on the buttons row.” In your chat with Dev you also get a one-line status for every merge request it looked at and the run report with the credits used.

## Your OK before anything is posted

Reading merge requests, opening previews and reading test results happen straight away. Posting comments in GitLab changes something other people see, so Dev shows you the review first and posts after your OK. Many teams switch this on fully once they trust the tone: you can allow Dev to post review comments on its own, or set the chat to “Don’t ask”. It still stays within your plan, credit cap per run and working hours, and it never approves or merges.

## Time your senior people get back

A careful review with a real preview check typically takes 30 to 45 minutes. With Dev’s pass done first, the human review is usually 10 to 15 minutes, because the obvious problems are already found and fixed. For a team merging around ten changes a week, that is several hours back for the person who knows the code best. Treat these as estimates; complex changes still need a human’s full attention, and Dev’s review is there to make that attention count.

## Turning it on

1. Connect GitLab, Vercel and Cypress Cloud with accounts that can read the project, its deployments and its test runs.
2. Add your review checklist as a skill. A short one is fine: “No new endpoint without an auth check. No migration without a down step. Copy must match the issue.”
3. Save a test account login if your previews need one, and list the phone and desktop widths you care about.
4. Choose the schedule, run it once on a merge request you already reviewed and compare notes.

## Making the reviews sharper

- **Write better merge request descriptions.** “Fixes #212: show the plan name on the invoice PDF” gives Dev something to test against.
- **Name the risky folders.** Tell Dev that anything touching billing or sign-in always gets a slower, deeper read.
- **Hand off the flaky tests.** When Dev flags the same flaky spec three weeks running, ask it to fix the test itself as a separate merge request.

---

Source: https://prosyo.com/ai-agents/use-cases/dev-merge-request-review/ · Prosyo
