You need to sign in or sign up before continuing.
Increase the page size for the contributions GraphQL query
2 unresolved threads
2 unresolved threads
Compare changes
Files
5+ 8
− 0
This change increases the max page size for the contributions
query. Clients may request up to 500 records per page. The main user of this query is the Contribution Analytics feature, where we noticed that large volume of batching (pagination) queries affect the page load significantly: https://gitlab.com/gitlab-com/gitlab-OKRs/-/work_items/4084#note_1644920882
By default, we preserve the default page size (100) for backward compability reason. The frontend controls the page size which is currently behind a feature flag: use_500_page_size_for_contribution_analytics
Analyze > Contribution Analytics
first: null
(means: fall back to the default page size.use_500_page_size_for_contribution_analytics
feature flag.first: 500
argument.This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #431546 (closed)