Restores StageCheck to Explain Vulnerability
What does this MR do and why?
This MR fixes an inconsistency identified in Remove Vulnerability Resolution from Experiment... (#471110 - closed), which raised the issue that the StageCheck isn't being applied consistently to both the Explain and Resolve Vulnerability features. Currently, the Explain feature is available when the Use experiment and beta Duo features
is unchecked. This change restores the StageCheck to Explain Vulnerability.
With these features going to GA soon, they won't be limited by the Use experiment and beta Duo features
checkbox, but this change will ensure they are controlled correctly by the ai_features_catalogue.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
- Checkout the
master
branch, load a vulnerability. - Check
Use experiment and beta Duo features
in the project's group settings. - Reload the vulnerability, you should see the split button.
- Uncheck
Use experiment and beta Duo features
in the project's group settings. - Reload the vulnerability, you should only see the Resolve button.
- Checkout the branch for this MR.
- Reload the vulnerability, neither button should be visible.
- Check
Use experiment and beta Duo features
in the project's group settings. - Reload the vulnerability, you should see the split button.