Skip to content

Allow `rake cache:clear` clearing pipeline status cache

Lin Jen-Shin requested to merge 44582-clear-pipeline-status-cache into master

What does this MR do?

Allow rake cache:clear clearing pipeline status cache

Are there points in the code the reviewer needs to double check?

  • We need to update Gitlab::Redis::Cache.with so it's less likely to make this mistake. This is at least a quick fix for this
  • Are there other misuses?

Why was this MR needed?

Otherwise rake cache:clear cannot clear pipeline status cache.

Does this MR meet the acceptance criteria?

  • Changelog entry added, if necessary
  • Tests added for this feature/bug
  • Review
    • Has been reviewed by Backend

What are the relevant issue numbers?

Closes #44582 (closed)

Edited by Grzegorz Bizon

Merge request reports