Skip to content
Source
Sign inSign up

Make it easy to merge

Issues and pull requests / Find work

Make your pull request easy to merge

You opened a pull request, and the list says Hard merge or Medium merge. You want to know what to change.

2 min read

The forge gives the reasons for the ease of merge. Fix each reason, and the pull request gets easier to merge.

1. Read the reasons

  1. Open your pull request.
  2. In the right column, click the Agents tab.
  3. In About the change, the box above the Factory panel, read the reasons under Ease of merge.

A Hard merge shows only its hard reasons. When you fix them, the medium reasons can show next.

2. Fix each reason

The reason saysWhat to do
conflicts with mainBring your branch up to date.
1 failing required check, or 1 failing checkFix the cause in your branch, then push.
breaks the public APIRead the Impact tab. It lists what your change removes or changes. Keep the API, or tell the maintainers why it must change.
too large to compare (more than 3,000 changed files), or 1,200 linesSplit the change into smaller pull requests. See Split a change into a stack.
2 open review threadsAnswer the review comments, and resolve the threads.
open review findingsFix the findings of the review agent, then push.
1 running checkWait until the check ends.

If your pull request has a Conflicts badge, bring your branch up to date. The badge goes away when the branch merges cleanly.

Done

After you push, the list shows the new ease of merge within seconds. The same is true after a check ends, and after you resolve a review thread.

When no reason is left, the list shows Easy merge on your pull request.

To read how the forge sets the ease of merge, see Ease of merge.