Bridge job stuck in pending status when downstream pipeline cannot be run due to "only/except" filters
Summary
Bridge job is stuck in pending status without any explanation (and is not clickable) when downstream pipeline cannot be run due to only/except
filters.
Steps to reproduce
Create 2 projects. Set downstream project .gitlab-ci.yml
file to:
dummyjob:
stage: dummystage
script:
- echo "Do your build here"
only:
- specific_ref
Set upstream project (the one containing bridge job) to:
stages:
- test
- deploy
rspec:
stage: test
script: echo 'Main job'
staging:
stage: deploy
trigger:
project: path_to_downstream_project
What is the current bug behavior?
Bridge job is stuck in pending status without explanation and is not clickable.
What is the expected correct behavior?
Bridge job is finished with explanation that pipeline in downstream project is not triggered due to ref (or whichever) filter.