Tags page shows incorrect download artefacts button
The Projects::TagsController loads @tags_pipelines and @tag_pipeline_statuses and then the frontend uses the @tags_pipelines to display the download artefacts button and @tag_pipeline_statues to show the ci status icon for each branch.
There are 2 issues here.
- We're using 2 queries to fetch what should be the same pipeline.
- These queries behave slightly differently and
@tags_pipelinesis actually not as reliable
We should remove @tags_pipelines and update the download artefacts logic.
Edited by Joe Woodward