Code review and merge

Updated at:

The new merge request feature has been in grayscale testing since August 2023. This document introduces the new merge request.

1. Create a merge request

To create a merge request, follow these steps:

  • Select source and target branches. Choose branches based on your requirements. The system alerts you if differences exist—or if they are too large—and provides step-by-step guidance.

  • Branch information: After you select a branch, the system displays the latest commit information for that branch, such as the commit time and SHA.

  • Three modules guide the creation process:

    • Basic information

    • Commits

    • File changes

1.1 Basic information

The basic information template includes the following sections. Edit as needed:

  • Review title

  • Mark as Work in Progress (WIP)

  • Review description

    • Standard template.

    • Detailed template.

    • Bug report template.

    • Feature development template.

    • Optimization and improvement template.

    • Commit message template.

    You can also create custom merge request templates. For details, see .

  • Reviewers

  • Labels

  • Link work items

1.2 Commits

Switch to to view commits chronologically—from newest to oldest. Copy commit SHAs or jump to commit details pages.

1.3 File changes

Switch to to view exact file modifications. When ready, click to complete merge request creation.

2. Patch-based code review workflow

2.1 First-screen view of the code review details page

The code review details page has five main sections.

  1. Top status bar: shows the merge request title, the review status label, the source and target branches, the change statistics, and the merge status indicators (merge feasibility, code conflict check, approval count, comment resolution, and check gate status).

  2. Left file change list: lists the files touched by this change.

  3. Description area: contains the merge request description template, with sections such as review motivation and background, results, configuration and test verification, the acceptance checklist, and linked work items.

  4. Right information panel: shows basic information, reviewers, labels, and linked work items.

  5. Bottom activity area: records the operation history of the merge request.

The top-right corner provides the Approve and Merge buttons.

2.1.1 Basic info section A

Section A shows core review information and quick access to common actions.

  • View or edit the merge request title.

  • View the merge request status.

  • View author information.

  • View source and target branches. Switch the target branch if needed.

  • View how many commits the source branch is ahead of or behind the target branch.

  • Click Approve or Reject to react to the review.

  • Click ... for more actions:

    • Close the merge request.

    • Download the merge request.

    • Set or clear the WIP flag.

2.1.2 Basic info section B

The merge gate information area lists the following checks:

  • ⛔ Cannot merge (overall status)

  • ✓ No code conflicts

  • ✗ Insufficient approvals

  • ✓ All comments resolved

  • ✓ Check gates passed

Section B highlights blockers and solutions that prevent the review from merging.

2.1.3 Basic info section C

Section C shows information linked to the review but not part of the code itself.

2.1.4 Basic info section D

Section D helps reviewers understand the code review from multiple angles.

  • Overview

  • File changes

  • Commit changes

  • Automated checks

Note

Advantages over the legacy Codeup merge request:

  • Module decoupling: Compared with the previous version of merge requests, the product’s modules are more extensible, and review-related modules are more cohesive.

  • Activity-first. Comments are prominent and preserved to drive value.

  • Better UX. Sections are organized for each role. Everyone sees the full context and knows the next goal.

2.2 Review status transitions

Reviews often need multiple rounds of changes. A simple, clear state machine supports iterative review. The new merge request uses just four states. Below are their definitions and transitions:

image.png

Note

Advantages over the legacy Codeup merge request:

  • Iterative cycles. Legacy reviews could not revert from “Ready to merge” back to “In review” or “In progress.” New reviews support full cycles.

  • Real-time gates. In legacy reviews, changing gate settings did not affect existing “Ready to merge” requests. New reviews apply gate updates immediately—even during urgent releases.

2.3 Review snapshots—patches

A patch is the unit of change in new Codeup merge requests. Each time you push changes—for example, with —Codeup compares the new commits to the current review version and creates a new patch.

No matter how long the review lasts, every time you update the source branch, Codeup saves a snapshot of the old version and creates a new one. In Git terms, this is a patch. But recording only Git commit info in a snapshot is not enough. Reviews often involve multiple rounds. A flowchart of a single patch review shows why:

image.png

For each patch, the new merge request records not just the code diff, but also:

  • File changes (code diff).

  • Comments.

  • CI results.

  • Reactions—such as Approve or Reject.

  • Changes to title, description, reviewers, and other basic info.

  • ...

Codeup saves all patch-derived data and supports multi-dimensional comparisons between patches. This solves coarse-grained reviews and helps reviewers recover context without re-reviewing. Later sections explain how the powers each module.

Note

Advantages over the legacy Codeup merge request:

  • Designed for iteration. Makes review updates transparent and fine-grained.

  • Persistent history. Saves every patch and all derived data. Enables async, incremental review.

  • Multi-dimensional patch-to-patch comparison.

3. File changes module

We just covered the patch-based review workflow. Now let’s explore the file changes module.

3.1 View code diffs

Click in the horizontal navigation bar to open the file changes view. It has three parts:

  • Patch version selector: Switch between patch versions. By default, it shows the difference between the merge base (left side, labeled “Base”—the common ancestor of source and target branches) and the latest patch (“Patch 1”).

  • File tree: Browse and switch files quickly. Each file shows:

    • Change type.

    • Read/unread status (blue dot).

    • Lines added and deleted.

  • Diff view: Shows file changes.

3.2 View settings

Reviewers have different viewing preferences. The following view options are available, and your preferences are remembered across sessions:

  • Diff view: Toggle single-column or side-by-side display.

  • File browsing: Toggle tiled or sequential mode.

  • Show whitespace changes.

  • Show comments.

  • Enable line wrapping.

3.3 Read and unread status

On the code review page of a merge request, the top-right corner of the file diff area provides an Unread check box. Select it to mark the file as unread.

Beyond showing read/unread status in the file tree, you can manually mark files as read or unread. This helps track files you want to revisit or review multiple times. Both features rely on the . Codeup persists read/unread status per patch. No matter which patch you view, Codeup shows accurate read status for that patch—boosting review efficiency.

3.4 Compare file changes across patches

After creating a review, if you push changes—like editing to the source branch—the new merge request auto-generates Patch 2. Reviewers can use the patch selector to choose which version to review. For example, if you already reviewed , review only the difference between and :

After you switch the patch range, the File changes tab shows the incremental diff. The file tree on the left lists the changed files with their added and deleted line counts, for example Documentation/git-notes.txt, +2 -1. The right side highlights the exact differences, with deletions in red and additions in green. The top status bar summarizes the merge status, such as code conflicts and approval progress.

Note

Advantages over the legacy Codeup merge request:

  • Improved layout. Modular design gives more space to show file changes—keeping reviewers focused.

  • Easier context switching. Read/unread status and patch-range selection help reviewers resume where they left off—and review only new changes.

  • Code Reader upgrade: The Code Reader, powered by the Monaco editor, delivers a significantly improved file change review experience.

4. Commit changes module

Small file changes let reviewers finish fast. But large changes increase complexity and effort. To solve this, the new merge request adds the option. Review by commit to boost speed.

  • Commit list: Like , shows commits chronologically—from newest to oldest.

  • Version diff: Like , shows commit-level changes between two patches.

The module still follows the patch-based workflow. Both the and views let you switch patches. Use the commit list for first-time reviews—to do a of all commits. Use version diff for multi-patch reviews—to focus on changes and do an . See for more details.

Note

The new Codeup merge request has a major advantage over the legacy version: the version diff view.

This view clearly shows differences between two branches or commit ranges. Unlike traditional git diff, it shows the full scope of changes—not just a snapshot. Reviewers focus on new changes, skip re-reviewing old code, and better understand each change.

5. Automated checks module

Codeup provides out-of-the-box pipelines and code scanning. Integrate CI services fast and at low cost. Click in the horizontal navigation bar to view check results. Switch patch versions to trace historical results. Three integration methods are supported:

  • Alibaba Cloud DevOps Codeup code scanning.

  • Alibaba Cloud DevOps Flow pipeline.

  • Third-party automated checks.

5.1 Alibaba Cloud DevOps Codeup code scanning integration

After code detection is integrated into a merge request, you can review the results on the Automated checks tab. The left sidebar lists the Alibaba Cloud DevOps code detection task with its pass or fail status. The main area embeds the result overview, which reports the number of critical, warning, and suggestion issues together with their thresholds, and the list of unresolved issues, which shows the issue type, file name, severity, author, and the time the issue was introduced. The Go to the detection task link in the top-right corner opens the task details page. If detection fails, it acts as a gate and blocks the merge.

Codeup has built-in code scanning. Integrate easily with code review. See . After integration, you get:

  • Real-time status write-back.

  • Frontend embedding of scan details—better UX.

  • Quick jump to Codeup code scanning task details.

5.2 Alibaba Cloud DevOps Flow pipeline integration

The Automated checks tab of a merge request shows the status of every check in one place. The left side groups the check gates by source—Third-party commit statuses、Alibaba Cloud DevOps Flow、Alibaba Cloud DevOps code detection—and marks each one as passed, failed, or running. The right side embeds the run details of the selected pipeline and the code scan results. The top status bar summarizes the conditions that block the merge, such as unresolved code conflicts, insufficient approvals, and failed check gates.

Codeup code review integrates with Alibaba Cloud DevOps Flow. See . After integration, you get:

  • Real-time pipeline status write-back—with automatic UI updates.

  • Frontend embedding of pipeline details—better UX.

  • Quick jump to Alibaba Cloud DevOps pipeline details.

5.3 Third-party automated check integration

5.3.1 Integrate third-party CI using commit status

5.3.1.1 Write back CI results using OpenAPI

Codeup supports third-party CI integration through the commit status OpenAPI. Submit CI results through this API, and they auto-appear in the Automated checks section as "third-party commit statuses." Features include the following:

  • Status write-back

  • Link Write Back

  • Description write-back

See the API doc for details.

5.3.1.2 Set merge gates using commit status

In daily development, set commit status gates to block merges that fail gate checks. Configure this in the repository .

On the Branch Settings page, in Protected Branch Rules, click a branch rule to open the Edit protected branch rule panel, and then turn on Require automated status checks to pass before merging. In the Third-party commit status checks area, which lists commit statuses reported by third-party CI services such as Jenkins and CircleCI, select the checks to use as merge gates, for example TESTA and TESTB. You can also click Add to add a check.

Note

Advantages over the legacy Codeup merge request:

  • Open integration. Easily connect third-party CI tools.

  • Historical traceability. View results for past patches—encouraging frequent commits.

  • UX improvements. Embed Alibaba Cloud DevOps Flow pipeline details. Embed Codeup code scanning details. Render third-party check descriptions with Markdown.

  • Real-time updates. All automated check results render instantly—no page refresh needed.

5.3.2 Integrate third-party CI using check runs

In addition to commit status, Codeup supports check runs—a more advanced integration method. Commit status is simple but lacks flexibility for teams with strict workflows and fine-grained roles. Check runs offer richer customization: extended CI state enums, check annotations, and custom result views (using Markdown). The full lifecycle uses OpenAPI. See Check runs.

5.3.2.1 Rich CI states in check runs

Check run states depend on two fields: and . Map them to your actual CI results.

  • status

    • queued

    • in_progress

    • completed

  • conclusion

    • cancelled

    • failure

    • neutral

    • success

    • skipped

    • timed_out

    • stalecompleted

5.3.2.2

Write back the field via OpenAPI to customize how a check run appears. If you need rich UI display, this is the key field:

  • output

    • title

    • summary

    • text

    • images

5.3.2.3

Check annotations let you comment directly on code lines or blocks. When CI reports line-specific issues, you want to see them in the review UI. Write annotations via OpenAPI. Fields include the following:

  • annotations

    • path

    • startLine

    • endLine

    • startColumn

    • endColumn

    • annotationLevel

      • notice

      • warning

      • failure

    • message

    • title

    • rawDetails

5.3.2.4 Set merge gates using check runs

In the repository navigation pane, go to to add a rule:

In the merge gate configuration of a protected branch rule, select Third-party check runs, and then select the check runs to use as gates, for example Test environment deployment、Jenkins unit tests、Jenkins style check、CircleCI build. Check runs support check suites (groups), an extended set of write-back states, custom check reports, and check annotations.

If you just configured a merge gate but no check run data exists yet, Codeup shows a placeholder (gates always appear in Automated checks, even without current data).

After data write-back:

After data write-back:Automated checksThe statistics bar at the top of the page summarizes how many checks are in each state: failed, error, running, and passed. The left side groups the checks by source (Third-party check runs、Alibaba Cloud DevOps Flow、Alibaba Cloud DevOps code detection). Select a check to view its output details on the right.

Yes—if you configure an in protected branches, the matching item in the merge request’s tab is marked . Only gated items block merging. Non-gated items show but don’t block. Still, .

6. Comment capabilities

The code review system provides rich commenting capabilities. Comments help reviewers give and respond to feedback, improve code quality, and support team learning.

6.1 Comment status and display

After posting, copy the comment link to share. Edit or delete comments later. Comments have two main states:

  • Pending: Shown by default to help users spot pending comments. Click to change status to .

  • Resolved: Grayed out and collapsed by default to reduce noise (resolved means no further action needed). Click to change status to .

Important

Repository administrators can mark all comments as resolved. Developers can only edit their own comments.

6.2 Inline comments (file comments)

In the deploy.sh file changes of merge request MR #5, the reviewer added comments on specific code lines. The comment Rollback near line 47 is marked Resolved, and the comment Remove the extra blank line near line 49 is still Pending. The status bar shows Unresolved comments, so the merge request cannot be merged until every comment is marked as resolved.

Inline comments let you give targeted feedback on specific file changes, keeping discussions precise and focused.

6.3 Global comments (overview comments)

Global comments—also called overview comments—apply to the entire review. Use them for high-level feedback, broad issues, or wide-ranging topics. The entry point is at the bottom of the activity feed. Global and inline comments have distinct visual styles in the feed.

The global comment editor supports rich text formatting—bold, italic, strikethrough, links, and images—as well as Markdown syntax, and you can paste a screenshot to upload it. In the activity feed, an inline comment (file comment) shows the file name and the code line it belongs to, for example line 47 of deploy.sh, while a global comment is not tied to any code line.

6.4 Contextual replies and mentions

Both inline and global comments support replies in context and user mentions to invite others into the discussion.

A comment can be marked as Pending. After you finish replying, click Mark as resolved to close the comment thread. The Pending counter in the top-right corner of the page shows how many comments are still unresolved.

6.5 Draft comments

A draft comment is visible only to you until submitted. Drafts help reviewers organize and refine feedback before sharing—ensuring comments are thoughtful and actionable.

Draft comments appear in light yellow—clearly distinct from published ones. You can edit or delete drafts. When ready, click to post all drafts at once. You’ll then see:

  • Filename and line number (click to jump).

  • Patch version used.

  • Comment preview.

Click to publish drafts and let others review.

6.6 Reaction emojis

In the discussion area of a code review, a Pending tag in the top-left corner of a comment shows that the discussion is not resolved yet. Reviewers and developers discuss and reply to code issues in this area, and they can add reaction emojis below a comment. The bottom of the thread provides a comment box and a Mark as resolved button, which closes the discussion after the issue is fixed.

Reaction emojis convey tone and emotion—making comments friendlier, reducing miscommunication, and easing feedback acceptance. The new code review supports four reactions:

  • LGTM (Looks good to me!).

  • Agree.

  • Reviewed.

  • Unclear.

6.7 Quick comment filtering

The filter entry is the Condensed activity drop-down list above the activity area on the right. The list also provides the All activity and Draft comments filter options.

Sometimes you need to filter comments—like finding pending ones or comments for a specific reviewer. The new Codeup merge request lets you filter by reviewer, status, or mentions—speeding up review.

6.8 Quick access to pending comments

To handle pending comments faster, we added a persistent widget in the top-right corner. No matter which module you’re in, click the down arrow to process pending items one by one. Click the widget itself to see a list of pending items by type—and jump to each location.

Note

Advantages over the legacy Codeup merge request:

  • Rich comment filtering.

  • The Pending widget speeds up access to pending comments.

  • More comment features—like reaction emojis.

  • Greatly improved interaction experience.

7. Introduction to Checkpoint Access Control Capabilities

image.png

7.1 Configure merge gates

The new code review system supports light and heavy review flows. Configure gates flexibly—and changes take effect immediately. Merges strictly follow your defined conditions. Four common gate types are available in protected branch settings:

  • Code conflict gate.

  • Review Approval Threshold

  • Automated check gate.

  • The comments do not fully resolve the blockers.

On the protected branch settings page, after you turn on Require automated status checks to pass before merging, you can configure three kinds of checks:

  • Code detection task: provided by Alibaba Cloud DevOps Codeup.

  • Pipeline check: provided by Alibaba Cloud DevOps Flow. Select the pipelines to associate with the rule.

  • Third-party commit status checks: based on check runs. Add custom checks such as code style checks, build checks, and unit tests.

In the code review area on the left, configure the review mode (Normal or CodeOwner), the roles allowed to approve (Administrator/Developer), the minimum number of approvals, and the review file whitelist.

7.2 Displaying bottleneck information

If you just configured a merge gate but no check run data exists yet, Codeup shows a placeholder (gates always appear in , even without current data).

  • No code conflicts: a green check mark means the gate passed.

  • Insufficient approvals: a red cross means the gate failed.

  • Unresolved comments: a red cross means the gate failed.

  • Check gate not run yet: a gray circle means the gate has not been triggered.

After configuring merge gates, the new code review highlights them when triggered. Below are the four gate types.

7.2.1 Code conflict gate and online conflict resolution

The merge request page shows the Cannot merge status. Merge gates include unresolved code conflicts, insufficient approvals, and failed check gates. To resolve the conflict locally, first fetch and check out the source branch:git fetch origin and git checkout -b sourcename origin/sourcename. Then merge the target branch: git merge origin/targetname.

When a code conflict exists, hover over the conflict gate to see resolution options. We offer two ways:

  • Use online conflict resolution.

  • Update and resolve locally.

For large conflicts, resolve locally.

7.2.2 Approval count threshold

Hover over to see approval status.

7.2.3 Unresolved comments gate

In the filtered results, each unresolved comment carries an orange Pending tag, and you can click Mark as resolved to handle the comments one by one. In the activity filter drop-down list in the top-right corner, the Pending option shows the total number of unresolved comments.

Click to switch to the view—and auto-filter pending comments in the activity feed.

7.2.4 Failed automated check gate

Click to switch to the view—and see check results.

Note

Advantages over the legacy Codeup merge request:

  • Better UX. Gate info is clearer and easier to act on.

  • Third-party integration. Custom checks can serve as gates.

8. Revert and Cherry-pick

Codeup delivers strong branch management and collaboration. Merge requests are central—used for code review, discussion, and merging. Revert and Cherry-pick are two practical operations.

8.1 Revert

Codeup’s new feature lets you undo merged code. Use it when a merge request contains errors or unwanted changes. Two revert options:

  • Direct revert.

  • Create a new branch for revert—and submit a new merge request to undo the original merge.

On the details page of a merged merge request, click Revert at the top. In the dialog box that appears, to roll back through a new branch, select Create a new branch and submit a merge request to review this change, and then click OK.

8.2 Cherry-pick

The new code review adds . Pick specific commits—ideal for bug fixes or moving features across branches. Two cherry-pick options:

  • Direct cherry-pick.

  • Create a dedicated cherry-pick branch—and submit a new merge request to pick the original code into a target branch.

Cherry-pick supports . If enabled, all commits merge into one on the target branch. If disabled, commits apply individually.

9. Downloading and applying code reviews

On the new merge request details page, retrieve code changes. Follow these steps:

  1. Go to the merge request details page.

  2. Click Download merge request to download changes.

  3. In the version dropdown, select a source branch version. For example, choosing version 1 gets changes between the target branch and source branch version 1.

We offer four ways to retrieve merge request changes. Here they are:

Solution 1—Download and check out to a new branch

In Tab 1, run the following command to download the specific merge request reference from the remote, and then create a new branch <branch-name> in your local repository and switch to this new branch.

git fetch origin refs/changes/<mr-id>/<patch-id> && git checkout -b <branch> FETCH_HEAD

Note: Use this when you want to view or work on the change locally—and keep it on a new branch.

Solution 2—Download and check out to a commit

Run this command to fetch ’s reference —and check out the change (update your working directory to match):

git fetch origin refs/changes/<mr-id>/<patch-id> && git checkout FETCH_HEAD

Note: This does not create a branch. Use it for temporary review or testing—when you won’t build long-term work on the change.

Solution 3—Download and pull to current branch

Run this command to fetch ’s reference —and merge it into your current local branch. This combines and :

git pull origin refs/changes/<mr-id>/<patch-id>

Solution 4—Download files

Download files in two formats:

  • Click Patches file to download the patch file.

  • Click Diff file to download the diff file.

Note: To ensure smooth downloads, total file size must be ≤ 24 MB. Larger files fail. We strongly recommend Solutions 1–3—or generate patch/diff files locally using:

git format-patch <from-commit>..<to-commit> --stdout >changes.patch

This creates changes.patch with changes between <from-commit> and <to-commit>.

git diff <from-commit> <to-commit> >changes.diff

This creates changes.diff with differences between <from-commit> and <to-commit>.

Difference between Patch and Diff files

Diff file

A diff file shows differences between two commits—or between your working directory and index (or a specified commit). Use it to review local changes or prepare to stage them. It’s plain text in unified diff format—lines starting with + are added, - are deleted. Here’s an example:

diff --git a/2.txt b/2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9321879e6db0b52717fb793643e0a52e8cec1f4
--- /dev/null
+++ b/2.txt
@@ -0,0 +1,3 @@
+11
+22
+33
\ No newline at end of file
Patch file

A patch file is a series of patches—one or more per commit. Patches can be emailed and applied to another repo. They contain code diffs plus commit metadata (author, date, message) and email headers. Here’s an example:

From 9ee7e70530d01c3e52a51779d44463ac70a20801 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=87=8C=E6=9C=B4?=
 <accounts_644b72b625211b1de1******@mail.teambition.com>
Date: Wed, 22 Nov 2023 16:12:27 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=202.txt?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 2.txt | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 2.txt

diff --git a/2.txt b/2.txt
new file mode 100644
index 0000000..c932187
--- /dev/null
+++ b/2.txt
@@ -0,0 +1,3 @@
+11
+22
+33
\ No newline at end of file
--
2.41.0.agit.8.0.4.dev

In Git, diff and patch files serve similar goals: record code changes accurately. Choose based on your goal. Use diff files to inspect differences. Use patch files to share changes or migrate them to another repo—they carry full context for cross-environment collaboration.

How to apply Patch/Diff files to your local repo for review?

Offline code review

Use diff files for offline review—inspect code changes without network access.

Apply patches with git apply
  1. Go to your local repo:

     cd /path/to/your/repository
  2. Apply the patch file:

    git apply /path/to/changes.patch

    git apply

    • –stat: Show patch statistics.

    • –check: Test if the patch applies—without applying.

    • –apply: Apply the patch (default—usually omitted).

    • –whitespace=option: Check whitespace errors.

    • –reverse: Apply the patch in reverse.

ƒApply patches with git am
  1. Go to your local repo:

     cd /path/to/your/repository
  2. Apply the patch file:

    git am /path/to/changes.patch

    git am

    • –signoff(-s): Add “Signed-off-by” to confirm rights and agreement.

    • –3way(-3): Try three-way merge if direct application fails.

    • –skip: Skip current patch.

    • –resolved: Continue after resolving conflicts.

    If conflicts occur, git am stops. Resolve them, then continue with:

    git am --resolved

    or:

    git am --continue

    To abort and restore the original state:

    git am --abort

Note

Advantages over the legacy Codeup merge request:

  • Supports merge request download.

  • Offers multiple download methods—choose what fits your workflow.

10. Manage and customize code review templates

In the Codeup Create repository dialog box, select the Create merge request template check box, and then select a template type from the drop-down list:

  • Standard template

  • Detailed template

  • Bug report template

  • Feature development template

  • Optimization and improvement template

The new Codeup code review supports customizable and . See .

11. Push-based review mode

Codeup offers a convenient code review method. Without installing tools, run native to auto-create and update reviews. Review commits—and simplify merging.

12. Branch and tag review mode

Code review and merge controls code changes through push-based review, preventing arbitrary edits. However, users with write access can still create or delete branches and tags directly. Over time, this leads to clutter from stale branches that hurt maintenance and slow development.

The prevents direct branch and tag creation or deletion—even for users with permissions. All changes go through review. This improves control. The new code review supports this. See .

In branch and tag review mode, the review request details page lists the expected changes—for example, delete branch dev, delete tag v1, create branch feat and new-feat—together with the execution status indicators, such as Cannot execute、No execution conflicts、Insufficient approvals. After the review is approved, click Execute to apply the changes.

13. Openness

13.1 OpenAPI

The new Codeup code review exposes these OpenAPIs:

  • Create a code review.

  • Perform a code review.

  • Update a code review.

  • Query review status.

  • Query code review list.

  • Create a comment.

  • Update a comment.

  • Query comment list.

  • Query code review settings.

Warning

The new merge request changes the core review model—so some OpenAPIs and WebHooks are incompatible. Users should check docs for differences. Key docs:

  • New and legacy format docs.

Review these to ensure compatibility and correctness.

13.2 WebHooks

The new Codeup code review supports subscribing to these WebHook events: created, updated, commented, merged, and reacted. See .

13.3 Link labels

Codeup supports labels—a special way to tag merge requests. Two ways to add them:

  1. When creating a merge request, select labels in the field.

    In the label dialog box, select a preset label such as BUG、FEATURE、Optimization (optimization or refactoring of existing content), Documentation (documentation changes), New feature (a new feature or requirement), or Invalid (content that needs no action). You can also click New to create a custom label. After you select the labels, click OK to link them to the merge request.

  2. On the merge request details page, use the label area on the right to add or remove .

    Merge request activity logs label actions.

    The activity page lists the operation records, for example Add label with BUG, FEATURE, Documentation, Optimization, New feature, and Invalid, as well as Add patch and Merge merge request. Each record includes the operator and the operation time.

14. Labels in review collaboration

14.1 Improve collaboration and communication

Labels provide clear communication channels and status updates. When a team member adds a “Needs re-review” label, others know the merge request is ready for another reviewer.

14.2 Automation and integration

Combine label OpenAPIs with automation tools to trigger actions—like starting deployment or tests when a merge request gets a specific label.

15. Upgraded merge request list page

15.1 Display Change Size in the Merge Request List

The merge request list now displays the size of each change at a glance. Change size is calculated based on the number of changed lines and grouped into five levels:

  • XS: Fewer than 10 lines.

  • S: 10 to fewer than 50 lines.

  • M: 50 to fewer than 250 lines.

  • L: 250 to fewer than 1,000 lines.

  • XL: 1,000 lines or more.

Each level is represented by a visual indicator. Hover over the icon to view the exact number of changed lines.

These indicators help you assess the scope and complexity of a merge request, making it easier to allocate review resources and plan testing.

15.2 Filter merge requests by multiple criteria

15.2.1 Filter by label

On the merge request list page, click the Labels drop-down list in the filter bar to filter merge requests by label. The available labels are:

  • BUG

  • FEATURE

  • Optimization: optimization or refactoring of existing content.

  • Documentation: documentation changes.

  • New feature: a new feature or requirement.

  • Invalid

Select the target labels and click OK to apply the filter. At the bottom of the dialog box, use the New and Manage links to maintain labels.

15.2.2 Filter by review type

On the Merge merge request list page, click the Type filter drop-down list and select In progress (WIP) and In review to filter merge requests by review type.

15.2.3 Filter by author or reviewer

On the Merge merge request list page, click Author in the filter bar. In the Select author dialog box, enter a member name to search for the member, select the target member, and then click OK.

On the merge request list page, click the Reviewer filter in the filter bar. In the Select reviewer dialog box, search for the target reviewer, select the reviewer, and then click OK.