Pipeline page showing failed jobs still show retry button for jobs cannot be retried
This can be found at https://gitlab.com/gitlab-org/gitlab/-/pipelines/185168604/failures where this is a merge train pipeline, which cannot be retried yet it still has a retry button on this page:
Clicking on it will immediately give 422.
