Skip to content

Clear pipeline status cache after destruction of pipeline

Stan Hu requested to merge sh-clear-pipeline-status-cache-upon-destroy into master

project.pipeline_status.has_status? is cached, which can lead to Error 500s in the UI if the this condition is used to check whether a pipeline exists for a commit. We now expire the cache to ensure that the information is consistent.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59453

Merge request reports