Skip to content

Load license scan data ASAP

mo khan requested to merge 208723-load-license-scanning-widget-data-faster into master

What does this MR do?

This change fixes a regression introduced in !41539 (merged) that delays the loading of the license scanning MR widget data until the end of a pipeline. This delay increases the amount of polling that needs to occur against the server and delays the loading of available data until later than necessary.

Licence scan reports do not need to wait for the pipeline to finish because there are no other reports of the same type to be merged. This is different from security scan reports where we can have, for example, multiple SAST reports that need to be merged.

The change in this MR loads the MR widget data for license scanning as soon as it is available rather than waiting for the pipeline to complete.

Screenshots

screenshot-2020-10-09-1602280822

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #208723 (closed)

Edited by Thiago Figueiró

Merge request reports