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
- Open your pull request.
- In the right column, click the Agents tab.
- 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 says | What to do |
|---|---|
conflicts with main | Bring your branch up to date. |
1 failing required check, or 1 failing check | Fix the cause in your branch, then push. |
breaks the public API | Read 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 lines | Split the change into smaller pull requests. See Split a change into a stack. |
2 open review threads | Answer the review comments, and resolve the threads. |
open review findings | Fix the findings of the review agent, then push. |
1 running check | Wait 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.