Code review that keeps the change moving
Open a merge request, discuss the change line by line, and merge when the approvals and the checks are in. The issue, the pipelines and the discussion sit on the same page as the diff.
Find what waits for you
Quick filters answer the usual questions in one click, each with a counter: Needs my review, Needs my attention, Includes my changes, Open and My recent.
Narrow the list by state, repository, author, reviewer or date, save the combination as a search, and sort by what has waited longest without any change.
Read the change
A review has a timeline with the discussion and the commits in order, and a Changes tab with the diff file by file. Mark files as viewed to keep your place in a long change.
The side pane shows the author and co-authors, the reviewers, the linked issues and the pipeline results. On Premium and Business, the Outline tab builds a reading order for a large change with AI: it splits the change into sections, marks where to start and lists what the linked issue asked for.
Merge your way
Merge with a merge commit, rebase, or squash and rebase, with fast-forward options and auto-squash for fixup commits. Delete the source branch in the same step.
Branch protection decides which strategies are allowed, how many approvals are needed and from whom. The merge dialog shows the approvals and the result of every required pipeline before you confirm.
Merge requests and reviews of commits
A merge request reviews the changes of a branch and runs automated checks before they reach the target branch. A code review asks people to check one or more commits without merging anything, which is handy for a change that already landed.
Open one from the project menu, from a branch, from a comparison, or while you save an edit made in the browser.
AI review
When a merge request is opened, and again after each push, AI Review reads the change and comments on the lines it changed: likely bugs, risks, missing tests, security problems and places where the change does not do what the linked issue asked for.
It is a bot, not a reviewer: it does not approve and it never pushes to the branch. Its comments are ordinary review comments with a category and a severity, some with replacement code you accept in one click. It follows the review rules of your project and is available on Premium and Business.
Whose turn it is
A review passes the turn between the author and the reviewers, so nobody wonders who is waiting for whom. A reviewer accepts the changes, finalizes the approval, or waits for updates; the author finishes the work and hands the turn back.
An approval resets when new changes arrive, unless the reviewer chose to keep it.
Required pipelines
A branch protection rule can list pipelines that must pass on the latest commit of a merge request. Until each of them has a successful run on that commit, the merge request cannot be merged.
Runs on older commits are marked as outdated, and a failed run has an Explain link that opens the failed step with its explanation.
Questions about code review
- Is code review on every plan?
- Yes. Merge requests, reviews, comments, suggestions and branch protection are on every plan, including Free. AI Review and the Outline are on Premium and Business.
- Can AI Review approve or block a merge on its own?
- It cannot approve. An unresolved thread or an open suggestion from AI Review holds the review back exactly like one from a teammate, and resolving it is up to you.
- Do approvals given through an AI client count?
- They are listed separately as approved via AI client. An organization can choose not to count them, and then they do not make up the required approvals.
- Can we review a change that is already merged?
- Yes. Create a code review for the commits: reviewers read and approve them, and nothing is merged.
Comments and suggestions
Select a line or a range and leave a comment, or suggest replacement code. Post right away, or collect drafts and publish them together.
Resolve a thread when it is settled and reopen it if the topic comes back. An accepted suggestion is committed to the branch straight from the review.