Skip to content

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

  1. Go to Settings > Merge Requests > Merge Options > "Enable Merged Results Pipelines"
  2. Create a CI job that only triggers on MRs
  3. 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. Screenshot_2023-01-08_at_10.38.26_PM

Possible fixes

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information