Skip to content

Filter jobs by name

Payton Burdette requested to merge 387547-filter-builds-by-name-fe into master

What does this MR do and why?

This MR adds the ability to filter jobs by name (behind feature flag populate_and_use_build_names_table). Users can add raw text into the filtered search component and find jobs by name. As well as filter combinations of job name and status.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshot_2024-07-23_at_10.22.25_PM

Screenshot_2024-07-23_at_1.57.34_PM

How to set up and validate locally

  1. Enable :populate_and_use_build_names_table feature flag in the rails console
  2. Visit Project > Build > Jobs
  3. Run new pipelines to fill the new searchable table
  4. Type a job name in the search bar
  5. Type a job name in the search bar with a status
  6. Use query params to filter as well such as ?statuses=FAILED&name=wait_job
  7. Flip feature flag off and ensure filtering by status only still works as expected

Related to #387547 (closed)

Edited by Payton Burdette

Merge request reports

Loading