Skip to content

Refactor CodeQuality InlineFindings fetch from REST to GraphQL

Jannik Lehmann requested to merge jnnkl-codequality-diff-rest-to-graphql into master

What does this MR do and why?

This MR is a step to solve: #419177 (closed) It refactors the Network request for the CodeQuality findings on the MR Diff from REST to a GrapqhQL Query.

Screenshots or screen recordings

No visual changes
Screenshot_2023-10-11_at_10.52.28

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/code-quality-test
  4. Recreate this MR: jannik_lehmann/code-quality-test!4 (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