Skip to content

Expose hasMR in severities count query

Samantha Ming requested to merge 426229-add-has-mr-to-count into master

What does this MR do and why?

This ensures we're passing the hasMergeRequest as an argument to the GraphQL query

Screenshots or screen recordings

image

How to set up and validate locally

  1. Have the related FF enabled: echo "Feature.enable(:activity_filter_has_mr)" | rails c
  2. In order to run a pipeline to generate a Vulnerability report, you'll need an EE license.
  3. Fork https://gitlab.com/gitlab-org/govern/demos/sandbox/minac/test-remediations
  4. Run a pipeline against the default branch. It will generate vulnerabilities.
  5. Go to the project vulnerability report page
  6. Select an "Activity" filter, it will have the "Merge Request" items
  7. When selected, the count section will be updated accordingly

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 #426229 (closed)

Edited by Samantha Ming

Merge request reports