Skip to content

Delete cache for users added via rake task, through adjusting the base service

Mohamed Hamda requested to merge fix-caching-rake-task into master

What does this MR do and why?

Related to: gitlab-com/gl-infra/production#18262 (comment 1996802103)

Users who were assigned in bulk internally or via the script might face issues because of a caching update implemented two months ago. To fix this, we'll ensure that the cache is properly cleared for all users. However, we should adjust the rake task to clear the cache similar to what we did here to prevent this from happening again when IT or anyone assigns new users via the rake task.

In this MR:

Delete cache for users added via the rake task, through adjusting the base service

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Mohamed Hamda

Merge request reports