Pull Requests: Merge Candidates - What does it mean if my PR is a ‘Merge Candidate’?

During the legacy code phase of the course, you may see this label on one of your PRs:

image

It may be paired with a points estimate:

image

This typically happens when the staff member that was reviewing your PR likes everything they saw, but had to restart CI/CD because this button appeared:

image

When this appears, it means that the main branch has moved since the time you started the branch for the PR, so we have to merge in the latest changes from main before your branch is mergeable. (Rebasing on main is another way to address this; that’s different in terms of how the commit history will look, but the same in terms of the impacts discussed here.)

This restarts the entire CI/CD process.

  • Typically, CI/CD passes, and then your PR gets merged.
  • Less often (but it does happen), a new test failure emerges, and the PR has to go back for more changes and a new code review.

When you see this, no action is needed from you or the team, unless CI/CD fails.

If you see that it passes, though, you could ping a staff member and ask them to merge your PR and record the points.