Skip to content

Resolve "Query complexity exceeded in objective page"

What does this MR do and why?

This MR changes the page size for fetching work item notes to be static instead of dynamic. Unfortunately, dynamically increasing the page size causes query complexity issues.

On top of this, I've done a little cleanup of unused properties in the notes component.

Screenshots or screen recordings

No visual changes

How to set up and validate locally

  1. Create any work item (task, objective etc etc)
  2. Add 30+ comments or system notes to it
  3. Refresh the page and check GraphQL queries on network tab
  4. pageSize parameter on all work item notes query should be 30

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #409417 (closed)

Edited by Natalia Tepluhina

Merge request reports

Loading