Skip to content

Refactor codeQuality MR Widget extension to use its own feature-flag

Jannik Lehmann requested to merge jnnkl-codequality-mr-widget-feature-flag into master

What does this MR do and why?

This MR changes the Feature Flag handling of the codeQuality MR Widget Extension. It previously was managed by the refactorMrWidgetsExtensions Flag. Since the codeQuality MR Widget Extension comes with its own challenges and Issues (mostly #361083 (closed)) It's a good idea to have an independent Feature Flag for it so we have more flexibility when it comes to the rollout.

The CodeQuality MR Widget Extension now lives behind the refactor_code_quality_extension Flag

Screenshots or screen recordings

flag off flag on
Screenshot_2022-05-30_at_17.40.22 Screenshot_2022-05-30_at_18.29.08

How to set up and validate locally

  1. You need a project that has the codeQuality Job running and open up a MR, I recommend cloning https://gitlab.com/jannik_lehmann/code-quality-test and copy the changes in one of the MR's
  2. Go to MR Page see Code Quality Widget
  3. enable refactor_code_quality_extension
  4. Go to MR Page see Code Quality Widget Extension

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