Do not display security widget when pipeline is active
What does this MR do and why?
When the pipeline is still running, there's no need to poll security reports. This MR fixes that behaviour.
Screenshots or screen recordings
before | after |
---|---|
How to set up and validate locally
- Fork https://gitlab.com/gitlab-examples/security/security-reports/
- Enable feature flag:
refactor_security_extension
- Create an MR
- Go the MR page
- You shouldn't see the
Security Reports loading
message when the pipeline is still running.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #371868 (closed)