Issues and pull requests / Find work
Find the pull requests to handle first
You have many open pull requests, and you cannot open each one. You want to merge the easy ones first, or read the ones that change the most first.
10 min read
The pull request list gives each open pull request a type, an impact and an ease of merge, each with its reasons. You filter and sort the list by them.
1. Read the badges
- Open the repository, then Pull requests.
- Read the badges next to the title of each pull request.
- To read why a badge has its value, hold the pointer on it, or move to it with Tab. An Easy merge badge has no reasons.

Each open pull request can show:
- Conflicts: a red badge with a warning icon, first among the badges. The pull request has conflicts with its base branch.
- The type: Feature, Fix, Refactor, Docs, Dependencies or Chore.
- The impact: High impact, Medium impact or Low impact.
- The ease of merge: Easy merge, Medium merge or Hard merge.
- The areas: in the line below the title, next to a folder icon. For example
apps, packages.
A value that is not known yet shows no badge.
2. Filter the list
Next to the Labels menu, the list has the Author and Assignee menus. Then it has four more menus: Type, Impact, Ease and Area.
- Click Ease, then Easy.
- To add one more filter, click Type, Impact or Area, then click a value.
- To see the pull requests of one person, click Author or Assignee, then click the person.
- To take a filter off, click the X next to its menu.
- The Area menu lists the areas of the pull requests on the first page of the list.
- The Author and Assignee menus list the people of the repository when you can triage. Author also lists the people who opened the pull requests on the page. For other people, see Find the work of one person.
The URL keeps the filters, for example ?ease=easy&type=fix&author=ana. Send the link to your team, and they see the same list.
Tip
To find one pull request by a word or by its number, use the search box. See Search a list and pick its view. To see only the pull requests that came in since your last visit, click New. See See what is new since your last visit.
3. Sort the list
- Click Sort.
- Click Easiest to merge or Highest impact.
Newest is the default order: the pull request opened last comes first. The order uses the date, not the number, because pull requests imported from GitHub keep their GitHub numbers. Issues use the same order.
With the other sorts, the pull requests that have no value for the sort come last. The URL keeps the order as sort=ease or sort=impact.
Done
The list shows which pull requests are easy to merge and which ones change the most. You filter by type, impact, ease, area, label, author and assignee, sort by ease or impact, and share the list as a link.
Is your own pull request hard to merge? See Make your pull request easy to merge.
Long lists load as you scroll
The pull request list and the issue list show 25 items on a page.
- Scroll down the list. Near the end, the next page loads. You can also click Load more.
- The address gets
?page=with the number of pages that show, for example?page=3. - Reload the page or share the link. The list loads the same pages again, up to 40 pages.
If a page does not load, the list says why and shows Retry. A new search or filter starts again at the first page.
Stacks show as one row
A stack of pull requests is one row in the list, at the place of its bottom pull request:
- The first line has a Stack of 3 button, the numbers, for example
#101 to #103, and a sum of the stack, for exampleCI failed on 1, 1 draft, 1 needs an update. - Below it, each pull request of the stack has its own row, bottom first, at the full width of the list. It is the row that the list shows for any pull request: its title, CI, labels, type and impact, author, checkbox and New mark. A pull request that needs to take in the one below it has a Stack needs update mark.
- A line joins the stack icon and the icon of each pull request of the stack, and no divider cuts the stack, so you see where it starts and ends.
- Click Stack of 3 to fold its pull requests away. Click it again to show them.
The list shows 25 pull requests on a page. It folds a stack from the pull requests of the same page only. When the members of a stack are on two pages, each page shows its own part of the stack. The next page loads when you scroll near the end of the list, with its own stack rows.
When a search or a filter is on, the list groups only the pull requests that match. Matches marks each pull request of the stack that matched. A pull request of the stack that did not match shows only its number and title. A single matching pull request of a stack shows as its own row.
What each value means
Type and impact
The Classify step of the PR summary agent of the factory picks the type and the impact, each with a one-line reason. It runs when an admin turns on PR summary, which is off by default.
The agent reads no code. It reads only these parts of the pull request:
- The title and the description.
- The changed paths, with their line counts.
- The verdicts of the security audit and of the step Check scope and duplicates.
- The record of PR impact.
| Impact | Meaning |
|---|---|
| High | It changes a public API, the architecture, stored data or its format, or security. |
| Medium | It changes behavior that users see, inside the current API and architecture. |
| Low | A small or local change: docs, tests, a fix inside one module, or an internal refactor. |
Ease of merge
Code sets the ease of merge from facts about the pull request. No AI model decides it.
A pull request is Hard to merge when it has at least one of these:
- A conflict with its base branch.
- A failing required check.
- A removed or changed public API, from the PR impact record.
- A diff that is too large to compare.
- More than 1,000 changed lines.
Else, it is Medium when it has at least one of these:
- A failing check that is not required.
- A running check.
- An open review thread.
- Findings of the review agent.
- 300 to 1,000 changed lines.
Else, it is Easy.
- Only the CI runs that everyone can see count. The checks of a hidden workflow never count.
- An admin can change the two line limits. See For admins.
Areas
- When the File domains step ran on the pull request, the areas are the names of its domains, without Other. This step is off by default.
- Else, the areas are the top-level folders of the changed files. The files at the root of the repository show as
(root).
When the values change
After each of these, the ease of merge and the folder areas update within seconds:
- A push to the pull request.
- A change of its checks or of its review threads.
- A read of the pull request: someone opens its page, or reads it with
src pr view, the MCP toolget_pull_requestor RESTGET /api/v1/repos/{owner}/{repo}/pulls/{number}.
After a move of the base branch, the wait for the update depends on the last activity on the pull request (a push or a comment, for example):
- Activity in the last 24 hours: up to 10 minutes.
- Activity in the last 7 days: up to 1 hour.
- Older activity: up to 12 hours.
The list shows the values from the last update. To see whether a pull request has conflicts with its base branch now, open it. The merge box on its page uses the same conflict check as the Conflicts badge. Until the check runs on the newest commits of the pull request and its base branch, the box shows Checking for conflicts. When the check ends, the page updates by itself, usually within seconds.
On a repository synced with GitHub, the Conflicts badge of a pull request that is on GitHub shows the answer of GitHub. After a move of the base branch, the forge asks GitHub again at the update above. See Conflicts.
- The type and the impact change once for each new head, after PR impact is done with that head. The old values stay until then.
- After a push, the agent updates its last answer from the files that changed since. After a force push, or for a pull request from a fork, it reads the whole pull request again.
The agent does not run on a draft, on a pull request that screening holds, or on a pull request imported from GitHub. A draft and an imported pull request still get an ease of merge and areas.
Your agent can read the same answer
An agent or a script gets the same values, with the same filters and the same sort.
REST:
curl -H "Authorization: Bearer $TOKEN" \
"https://source.tanstack.com/api/v1/repos/<owner>/<repo>/pulls?ease=easy&sort=impact"
Each pull request in the answer has a buckets field. It is null when the pull request has no values yet:
{
"type": "fix",
"typeReason": "Fixes the count of the countdown loop.",
"impact": "low",
"impactReason": "A small fix inside one module.",
"ease": "medium",
"easeReasons": ["1 running check"],
"areas": ["src"],
"areaSource": "folders",
"conflicts": false
}
conflicts is true when the pull request has conflicts with its base branch. It is false when it merges cleanly, and null when it is not known yet.
- The query parameters are
type,impact,ease,areaandsort(newest,easeorimpact). querysearches the title and the description.#12or12also finds the pull requests whose number starts with 12: 12, 120 and more.unseen=truekeeps only the pull requests that are new to you. See Pick up new work with your agent.- Pass
nextback ascursor, with the same filters and sort, for the next page. - The MCP tool
list_pull_requeststakes the same arguments, and gives the samebucketsfield.
With src:
src pr list --ease easy --sort impact
src pr list --type fix --area src --json number,title,buckets
In a terminal, the table gets the columns EASE, IMPACT and CONFLICTS when a pull request has an ease, an impact or a conflict. The CONFLICTS cell says yes when the pull request has conflicts.
For admins: the agent and the line limits
The Classify step runs while PR summary is on, which is off by default. Open the repository, then Agents, then Agents under Software factory. Turn on the switch of PR summary. To turn only the step off, click Settings next to PR summary, and turn off the step Classify.
The ease of merge uses two line limits. To change them:
- Open the repository, then Agents. In the sidebar, click Rules under Software factory.
- Set Lines for medium to merge (300 by default) and Lines for hard to merge (1000 by default).
- Click Save rules.
The medium limit must be below the hard limit. Then the forge sets the ease of merge of every open pull request again. The field is easeLimits in the CLI, REST and MCP. See Models, keys and triggers.