Pipeline UI linking branches to the wrong pipelines
Summary
The Branches UI is linking to the latest pipeline for the Commit SHA rather than the branch.
Steps to reproduce
Example Project
What is the expected correct behavior?
The Branches UI should link to the branch
Relevant logs and/or screenshots
Branch TST and PRD all ran pipelines for commit ID c104ecbe.
The pipeline passed for branch TST and PRD, but the Commit ID c104ecbe was also executed in a feature branch called feature/create_user_hotfix and created pipeline 105804.
The UI is showing the pipeline as failed for all three branches and linking them all to the failed pipeline for branch feature/create_user_hotfix (pipeline 105804).
Example A: List of pipelines for commit ID c104ecbe - shows the incorrect URL.
Example B: UI for branches TST and PRD. Notice in the inspect portion, the UI is linking to Pipeline 105804
Example C: This screenshot shows the latest actual pipeline for the PRD branch as 103234
Output of checks
Results of GitLab environment info
Results of GitLab application Check
Possible fixes
This seems to be a regression in 13.10.
/cc @michaelggerhart
Edited by Bryan Miller