Skip to content

feat(api): replaces REST search with GraphQL search for issues and PRs#14

Merged
wgordon17 merged 11 commits intogordon-code:mainfrom
wgordon17:roadmap/phase-3/graphql-search-migration
Mar 25, 2026
Merged

feat(api): replaces REST search with GraphQL search for issues and PRs#14
wgordon17 merged 11 commits intogordon-code:mainfrom
wgordon17:roadmap/phase-3/graphql-search-migration

Conversation

@wgordon17
Copy link
Copy Markdown
Member

Summary

  • Replaces REST Search API + PR detail REST calls + GraphQL check status batch with two GraphQL search() queries (issues + PRs), moving issue/PR fetching from the constrained search rate limit pool (30 req/min) to the GraphQL pool (5000 pts/hr)
  • Issues, PRs, and workflow runs now fetch in parallel via single Promise.allSettled; Header displays GraphQL rate limit instead of search rate limit; reviewComments renamed to reviewThreads (thread count via GraphQL)
  • Fork PRs with null statusCheckRollup fall back to a targeted per-PR GraphQL query against the head repo; dead REST search/check-status code removed (-784 lines net); CACHE_VERSION bumped for schema change

@wgordon17 wgordon17 merged commit ef6ecf8 into gordon-code:main Mar 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant