How to Check a Project’s Pull Request Backlog Before You Submit Yours

Tested by TNT Review — record TNT-TEST-2026-10-05-034, 5 October 2026. We ran the checker below for real against a live, active project; the real result is in Verification.

The problem

A huge open pull request count on a project can mean two very different things: a project that merges constantly but just gets a lot of submissions, or one where PRs genuinely pile up and wait a long time. Knowing which, before you invest time in a contribution, sets realistic expectations for how soon (if ever) you’ll see a response.

Expected outcome

By the end of this guide you will have a script that checks a repo’s open PR count alongside how many of its recently-closed PRs were actually merged, giving you a quick read on review activity.

Requirements and costs

  • Node.js (version 18 or newer, for its built-in fetch).
  • Cost: free. GitHub’s public API needs no account or API key at this request volume.

Step-by-step implementation

  1. Download the checker from the link below.
  2. Run it against any public repo:
    node check-pr-backlog.js n8n-io/n8n
  3. Read the open PR count alongside the merge rate — a high open count with a healthy merge rate in the recent sample suggests an active, high-volume project, not necessarily a stalled one.

A real example

$ node check-pr-backlog.js n8n-io/n8n
{
  "repo": "n8n-io/n8n",
  "open_pr_count": 767,
  "recently_closed_sampled": 10,
  "recently_merged_of_those": 8,
  "merge_rate_in_sample": "80%"
}

767 open PRs sounds like a lot, but 8 of the last 10 closed PRs were actually merged — a genuinely active review process, not a backlog where things just pile up and die.

Verification and troubleshooting

What we tested, on 5 October 2026 (record TNT-TEST-2026-10-05-034): ran against n8n-io/n8n with no mocking and got back a real open PR count (767) and a real 80% merge rate from its 10 most recently closed PRs — confirming the script correctly queries both GitHub endpoints and computes the sample rate correctly (8/10 = 80%).

Troubleshooting:

  • “GitHub API returned 403.” You’ve hit GitHub’s unauthenticated rate limit for search (lower than the general API) — wait before checking another repo.
  • The merge rate looks artificially low. A sample of 10 recent closures can be noisy for a slow-moving project — this is a quick signal, not a statistically rigorous measure; treat a single low reading as worth a second look, not a certain conclusion.
  • “open_pr_count” seems too high to be real. GitHub’s search count for very large repos is accurate but can include PRs across a long history; it’s a real total, not inflated by the query.

Limitations and alternatives

This samples only the 10 most recently closed PRs, not the full history, and says nothing about how long currently-open PRs have actually been waiting. For a deeper read, browsing the repo’s own PR tab sorted by “oldest” shows exactly how stale the longest-waiting ones really are.

Free resources

The download contains the full checker.

Download the PR backlog checker (ZIP, 1 KB)

Is there a paid version?

Not yet. This is the complete method. TNT Review has sold nothing to date and has no checkout, so any price we discuss in future should be read as a hypothesis, not an offer.

Leave a comment