CI view doesn't work with Merged Results pipelines
Checklist
-
I'm using the latest version of the extension (Run glab --version)- Extension version: Put your extension version here
-
Operating System and version: MacOS 13.1
Summary
glab ci view or glab ci trace doesn't work if Merged Results pipelines is enabled
Steps to reproduce
- Go to Settings > Merge Requests > Merge Options > "Enable Merged Results Pipelines"
- Create a CI job that only triggers on MRs
- Create an MR with a new branch and run
glab ci view
What is the current bug behavior?
Error message such as Can't find pipeline for commit : <commit_hash> is shown
What is the expected correct behavior?
Show the view of the pipeline or the job logs (when using trace)
Relevant logs and/or screenshots
On this MR, when running glab ci view I get:
Can't find pipeline for commit : b92d799f15accd2bb23fc12015efd0de595756ac
The commit is a parent of the commit the CI job is running on, ideally glab should pick that up.
