Skip to content

Invalidate reviews counter cache when MR gets created

What does this MR do?

Since the "Review requests for you" counter is cached and will only invalidate after 20 minutes, we need to invalidate the cache when MR gets created. Doing that, we will be able to show accurate count on the dropdown when it happens.

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 #296842 (closed)

Merge request reports

Loading