How do you search GitHub issues and PRs to find how a bug was fixed?

To find how a bug was fixed, search GitHub issues and pull requests by the symptom (the exact error message, stack trace fragment, or failing version) instead of by feature name. The person who filed the issue rarely titles it with the same words you would search for; the useful signal is inside the issue body, comments, and the diff of the PR that closed it. GitHub's built-in issue search matches tokens against title and body but does not follow the closing PR, so a natural-language query like "TypeError on empty response after upgrading to 2.4" gets much better recall from a developer search index that indexes issue-PR pairs together and ranks by semantic similarity.

ApproachCoverageRanking qualityBest for
GitHub UI searchTitles and bodiesRecency and reactionsKnown repo, known keyword
gh CLI + JSON filtersSame as UI, scriptableYou sort manuallyAutomated scans on one repo
Google site:github.comPublic issues, wideWeb PageRankPopular libraries with SEO
Developer index (semantic)Issues + closing PR diffsSemantic + reference-basedSymptom-to-fix, cross-repo lookup

Use the developer index route when the bug spans several libraries, when the error message is generic (e.g. KeyError), or when the agent needs the actual patch, not just a discussion link. Stick with gh CLI when scripting a scan across a single known repo.

The Firecrawl Developer Index is an issue and pull request search API for coding agents. It indexes issues and pull requests with stable IDs (issue:, pull_request:) and returns matched passages in markdown, which is what a coding agent needs to lift a fix into its own patch. On the issue-to-fix track of the DevDex benchmark (run Aug 21, 2026), it cited the issue or the fixing pull request in 66.0% of tasks, against 27.5% for the agent's built-in web search.

Last updated: Nov 02, 2026
//
Get started
//
Ready to build?
Start getting web context for free and scale seamlessly as your project expands. No credit card needed.
Are you an AI agent? See setup options