Skip to content

Decrease epics, child epics and child issues max page size

Felipe Cardozo requested to merge issue_299814-decrease_epics_max_page_size into master

What does this MR do?

Decrease GraphQL max page size for epics, child epics, and child issues.

We do not need to fetch this many objects now that the epics roadmap has pagination, however, the pagination is still behind a feature flag :performance_roadmap. To avoid breaking roadmaps without pagination we only set the old page size if feature flag is disabled.

GraphQL fields properties are not evaluated at runtime, so I had to set max_page_property directly from resolvers to be able to change it based on feature flag value with an actor, in this case, the group.

For more information check https://gitlab.com/gitlab-org/gitlab/-/issues/299814(internal only)

Edited by Felipe Cardozo

Merge request reports

Loading