Skip to content

Add count limit for jobs query

Payton Burdette requested to merge pb-fix-job-node-count into master

What does this MR do and why?

Adds the limit to the query that was introduced recently in !89642 (merged).

This will prevent timing out on projects that have lots of job records.

Screenshots or screen recordings

Screen_Shot_2022-06-21_at_1.53.53_PM

How to set up and validate locally

  • Enable jobs_table_vue and jobs_table_vue_search in the rails console
  • Visit CI/CD > Jobs

Things to verify

  • Pagination is working (infinite scrolling)
  • Jobs are returned with count (can edit code locally with smaller count than 1000)

MR acceptance checklist

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

Edited by Payton Burdette

Merge request reports

Loading