Skip to content

Project delayed deletion does not invalidate cached counts of user assigned MRs

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

When a project is delay deleted, the count of MRs a user is assigned to isn’t invalidated.

Workaround: Go to an MR that you are assigned to, close it, and reopen, to invalidate the cached counts. The counts will now be correct.

Steps to reproduce

These steps can be done on SaaS which has a 7 day delayed deletion policy.

  1. Create a project
  2. Create an MR
  3. Assign that MR to yourself. Note in the sidebar, your Assigned MR count will increase
  4. Now delete the project with delayed deletion
  5. Note that the Assigned MR count is not decremented
Edited by 🤖 GitLab Bot 🤖