Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • L Listaflow
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 28
    • Issues 28
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • opencraft
  • dev
  • Listaflow
  • Issues
  • #60
Closed
Open
Issue created Oct 04, 2022 by Fox Piacenti@FoxyFoxieMaintainer

Performance and Bug: Delayed Run Listings

h3. Story

"As a user, I want my runs to load quickly and consistently so that I can get to work."

h3. Full description

By toggling between the tabs quickly, it's possible to have the "Assigned to me" or "All" lists show up on the "To do" tab:

image

In some cases the All tab is taking over 10 seconds (even as high as 19) to load. Likely, the queries for these endpoints can be optimized with some well placed aggregation, prefetch_related calls, and select_related calls.

h3. Completion criteria

  • The endpoint for a user's runs should be sped up considerably. If possible, it should take under 200ms to generate a response in the case shown above.
  • A slow running fetch for a list should never cause the current tab to be misaligned compared to the list that is shown.

h4. Behavioral specifications

  • "When the user selects a tab, the run list is shown quickly."
  • "When the user selects a tab, the list is always the correct one."

h3. Documentation updates & improvements criteria

  • Left to the assignee’s appreciation

h3. Relevant repositories

  • This one.

h3. Review timeline

  • PR to be sent for review by
  • First PR review to be completed by
  • [Optional] Draft/WIP PR sent for review by
Assignee
Assign to
Time tracking