Pull Request

Version Controlbeginneraka PRaka Merge Requestaka MR

// Definition

A proposed set of commits opened for review before merging into a shared branch — the gate where code is reviewed, CI runs, and approval happens. Called a Merge Request on GitLab. The PR is where automated tests, linting, and human review converge before code reaches `main`.

// Why it matters

The PR is QA's primary checkpoint — it's where the test suite runs against proposed changes and where a quality gate can block a merge on red. Understanding PRs means understanding where in the flow tests execute, what "required checks" gate a merge, and how review feedback loops work.

// How to test

git push -u origin feature/login-tests
# open the PR on GitHub/GitLab → CI runs the suite automatically
# required status checks (tests, lint, coverage) must pass before merge is enabled

// Common mistakes

  • Huge PRs that are impossible to review properly (split them)
  • Merging with failing or skipped required checks
  • No description, so reviewers can't tell what changed or why

// Related terms