LearnNewsExamplesServices
Frontmatter
id9103
titleFix: DevRank Spider 422 Error on Complex Queries
stateClosed
labels
bugai
assigneestobiu
createdAtFeb 11, 2026, 3:21 PM
updatedAtFeb 11, 2026, 3:27 PM
githubUrlhttps://github.com/neomjs/neo/issues/9103
authortobiu
commentsCount1
parentIssue8930
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 11, 2026, 3:27 PM

Fix: DevRank Spider 422 Error on Complex Queries

Closed v12.0.0 bugai
tobiu
tobiu commented on Feb 11, 2026, 3:21 PM

The DevRank Spider fails with REST Error: 422 Unprocessable Entity when 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:

  1. Run node apps/devrank/services/cli.mjs spider
  2. Select "Discovery: Bio Signals" (or wait for it to be picked randomly)
  3. Observe crash.

Proposed Fix: Use encodeURIComponent() on the query string in apps/devrank/services/Spider.mjs.

tobiu added the bug label on Feb 11, 2026, 3:21 PM
tobiu added the ai label on Feb 11, 2026, 3:21 PM
tobiu added parent issue #8930 on Feb 11, 2026, 3:22 PM
tobiu referenced in commit 308cd79 - "fix: DevRank Spider 422 Error on complex queries (#9103)" on Feb 11, 2026, 3:26 PM
tobiu
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.

tobiu assigned to @tobiu on Feb 11, 2026, 3:26 PM
tobiu closed this issue on Feb 11, 2026, 3:27 PM