Gitlab CI doesn't show button "retry"

About a week ago, Gitlab ci stopped showing the “retry” button for all stages except the last one, and even then not always. How to return the “retry” button for other stages in the pipeline?
We use the management version of Gitlab ci We have this problem in all projects in several namespaces.

FWIW I haven’t observed this exact behavior on our projects’ CI Pipelines, but I found this post because I was not sure what caused the retry button to appear in some cases but not others.