Skip to content

Check minutes before displaying CI Minutes warning

Jackie Fraser requested to merge 34947-erroneous-ci_usage_warning_message into master

What does this MR do?

Currently we display the CI Minutes warning when the last_ci_minutes_usage_notification_level is set.

This value should be cleared at times, like when purchasing more minutes. If for some reason it is not cleared, the banner will display, even though there could be minutes available.

This MR changes it so that the warning will only display if the current minutes left is still below the last notification level set on the namespace.

Displays CI Minutes warning only if minutes left is still below notification level

Screenshots

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 #34947

Edited by Jackie Fraser

Merge request reports

Loading