Skip to content

Refactor CodeQuality Report available indicator

What does this MR do and why?

Refactor CodeQuality Report available indicator

This MR Switches from codeQualityEndpoint (REST endpoint) to codequalityReportAvailable for indicating report availability. Prior to that the REST endpoint var was used as an indicator for the REST and the GraphQL Query.

Follow up to: !139523 (merged) Issue reported in Slack: https://gitlab.slack.com/archives/CETG54GQ0/p1702319505910929

Screenshots or screen recordings

No visual changes.

How to set up and validate locally

How to set up and validate locally

  1. Enable sast_reports_in_inline_diff
  2. Make sure your running an ultimate license or your GDK (how to)
  3. Clone this repo: https://gitlab.com/jannik_lehmann/sast-inline-findings-example
  4. Recreate this MR for CodeQuality findings: jannik_lehmann/cq-and-sast-test!5 (diffs)
  5. Let the pipeline finish and the go checkout the diff page.

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 Jannik Lehmann

Merge request reports