Skip to content

Fix not enough data in VSA

Adam Hegyi requested to merge 202143-fix-not-enough-data-in-vsa into master

What does this MR do?

This MR fixes the not enough data message when 0 seconds are returned from the median API by changing the data type to float. The float is handled by the frontend out of the box, so no change is needed there.

The problem occurs when the stage has very small median duration (<1 minute). In this case the duration will be 0. The fix uses the original float coming from the database.

vsafix

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

Closes #202143 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports