Skip to content

Optimize RankUsersByReviewLoad by using a graphql query - #13

Merged
boolangery merged 2 commits into
mainfrom
feature/optimize-RankUsersByReviewLoad
Sep 21, 2026
Merged

boolangery merged 2 commits into
mainfrom
feature/optimize-RankUsersByReviewLoad

Conversation

@boolangery

Copy link
Copy Markdown
Collaborator

Description

  • Use a graphql query in RankUsersByReviewLoad

Reviewer notes

RankUsersByReviewLoad for 22 open PRs did 1 (ListPR) + 22×2 (s.PR get + ListAllReviewers, itself paginated ListReviews + ListReviewers) ≈ 60+ sequential REST calls.

@boolangery
boolangery force-pushed the feature/optimize-RankUsersByReviewLoad branch from d6c0192 to aa4afbd Compare September 21, 2026 15:00
@boolangery
boolangery marked this pull request as ready for review September 21, 2026 15:03
@boolangery
boolangery force-pushed the feature/optimize-RankUsersByReviewLoad branch from aa4afbd to e65188a Compare September 21, 2026 15:03
@boolangery
boolangery added this pull request to stack #15 September 21, 2026 15:13
@boolangery
boolangery requested a review from Dal-Papa September 21, 2026 15:13

@Dal-Papa Dal-Papa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool !

@boolangery
boolangery merged commit 39b50b3 into main Sep 21, 2026
3 checks passed
@Dal-Papa
Dal-Papa deleted the feature/optimize-RankUsersByReviewLoad branch September 21, 2026 15:59
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.

2 participants