Skip to content

Expire repository exists? and has_visible_content? caches after a push if necessary

Stan Hu requested to merge stanhu/gitlab-ce:invalid-exists-on-new-push into master

It's possible that Project#after_create didn't get run properly due an error, which may keep the project in a broken state into rake cache:clear is called. This MR ensures that at least the state will be consistent after a push.

Closes #17012 (closed)

Merge request reports