fix: URL-length-aware OpenAlex batching and eager scholar metadata hy… #41

Merged
JustinZeus merged 1 commit from openalex-size-reduction-scholar-hydration into main 2026-03-01 23:44:12 +01:00

1 commit

Author SHA1 Message Date
d9be57a6c1 fix: URL-length-aware OpenAlex batching and eager scholar metadata hydration
- Replace fixed batch_size=25 with URL-byte-length-aware chunking for
  OpenAlex title.search queries. Long/Unicode titles caused URLs to
  exceed server limits, resulting in 500 errors.
- Always hydrate scholar profile metadata (name, image) on creation,
  even when an initial scrape job is queued, so the UI shows profile
  info immediately.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 23:42:15 +01:00