Why: the goal or problem

An internal leave app lets staff request days off. Its developers must review a balance-rule change alongside automated checks. Keeping discussion and CI in an existing GitLab workflow matters more than adopting another host.

How: work toward a solution

Open a merge request. Configured CI rules run the balance test on a runner. A failure prompts a fix and another run; a reviewer then considers merging.

A leave-balance change reaches review with a failed test, fix and rerun

Staff leave app · configured test example

The review carries its test results.

MR

Change the leave-balance rule

Source branch: leave-balance

.gitlab-ci.yml↓ MR event rules + runner
  1. FAIL

    01 / Balance test

    Over-balance request wrongly accepted

  2. FIX

    02 / Update branch

    Correct the rule, then rerun

  3. PASS

    03 / New test result

    Reviewer considers the result and change

Passing check → evidence for review → merge decision

Setup required. This MR pipeline tests the source branch, not automatically the merged result. Passing is not deployment approval.

What: the concept

GitLab combines Git hosting, merge requests and CI. Checks need configuration and runner capacity. A merge-request pipeline tests the source branch, not automatically the merged result. Hosted use and self-operation carry different responsibilities.

Source