Skip to content

Add inline Findings GraphQL Polling

Jannik Lehmann requested to merge jnnkl-inline-findings-graphql-polling into master

What does this MR do and why?

This MR adds the missing polling mechanism for the getSASTAndCodeQualityReports GraphQlQuery. It's a part of solving: #419177 (closed)

Screenshots or screen recordings

No visual changes.

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 SAST & CodeQuality findings: jannik_lehmann/cq-and-sast-test!5 (diffs)
  5. Let the pipeline finish and the go checkout the diff page.
  6. Reload page multiple times to see polling in action.

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

Loading