Frontmatter
| id | 9103 |
| title | Fix: DevRank Spider 422 Error on Complex Queries |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Feb 11, 2026, 3:21 PM |
| updatedAt | Feb 11, 2026, 3:27 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9103 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8930 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 11, 2026, 3:27 PM |
Fix: DevRank Spider 422 Error on Complex Queries

tobiu
Feb 11, 2026, 3:26 PM
Input from Gemini 3 Pro:
✦ I have applied the fix by URL-encoding the query string in
Spider.runSearch. This ensures that complex queries with spaces and operators are correctly processed by the GitHub API.Fix committed in
308cd7947.
The DevRank Spider fails with
REST Error: 422 Unprocessable Entitywhen running the "Bio Signals" strategy. This is because the search query string containing spaces and operators (OR) is not URL-encoded before being passed to the GitHub API.To Reproduce:
node apps/devrank/services/cli.mjs spiderProposed Fix: Use
encodeURIComponent()on the query string inapps/devrank/services/Spider.mjs.