Child pipeline glab linux view
### Checklist - [ ] I'm using the latest version of the extension (Run `glab --version`) - Extension version: _fill in_ - [x] Operating system and version: Linux - [x] Gitlab.com or self-managed instance? self-managed instance - [x] GitLab version (if self-managed): v18.2.8-ee - [x] I have performed `glab auth status` to check for authentication issues - [x] Run the command in debug mode and attach any useful output ### Summary `glab ci view` crashes with an index out of range panic when opening a child pipeline from a bridge/trigger job in the interactive CI view. ### Environment - OS: Linux - SHELL: zsh - TERM: xterm - GLAB: glab 1.97.0 (3804f048) Other: none ### Steps to reproduce 1. Run `glab ci view` for a pipeline that has a trigger/bridge job. 2. Move to the child pipeline entry in the interactive CI view. 3. Press Enter to open the child pipeline. ### What is the current bug behavior? `glab` crashes with a panic similar to: ```text [git remote -v] [git config --get-regexp ^remote\..*\.glab-resolved(-base|-head)?$] [git symbolic-ref --quiet --short HEAD] 2026/05/20 12:29:16 runtime error: index out of range [6] with length 4 goroutine 1 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:26 +0x5e gitlab.com/gitlab-org/cli/internal/commands/ci/view.recoverPanic(0x198e896c81c0) /go/src/gitlab.com/gitlab-org/cli/internal/commands/ci/view/view.go:887 +0x45 panic({0x18e0aa0?, 0x198e8a30fa70?}) /usr/local/go/src/runtime/panic.go:860 +0x13a github.com/rivo/tview.(*Application).Run.func1() /go/src/gitlab.com/gitlab-org/cli/vendor/github.com/rivo/tview/application.go:251 +0x3e panic({0x18e0aa0?, 0x198e8a30fa70?}) /usr/local/go/src/runtime/panic.go:860 +0x13a gitlab.com/gitlab-org/cli/internal/commands/ci/view.(*navigator).Navigate(0x198e895d68a0?, {0x198e89b2c460?, 0xe5970a?, 0x198e89500c08?}, 0x19deb64?) /go/src/gitlab.com/gitlab-org/cli/internal/commands/ci/view/view.go:591 +0x5c5 gitlab.com/gitlab-org/cli/internal/commands/ci/view.(*options).run.inputCapture.func3(0x198e895de620) /go/src/gitlab.com/gitlab-org/cli/internal/commands/ci/view/view.go:380 +0x299 github.com/rivo/tview.(*Application).Run(0x198e896c81c0) /go/src/gitlab.com/gitlab-org/cli/vendor/github.com/rivo/tview/application.go:327 +0x4c7 gitlab.com/gitlab-org/cli/internal/commands/ci/view.(*options).run(0x198e89968640, {0x22ae218, 0x198e895dadc0}) /go/src/gitlab.com/gitlab-org/cli/internal/commands/ci/view/view.go:291 +0x10d9 gitlab.com/gitlab-org/cli/internal/commands/ci/view.NewCmdView.func1(0x198e89be1208, {0x198e89aec0c0?, 0x4?, 0x19d5ce5?}) /go/src/gitlab.com/gitlab-org/cli/internal/commands/ci/view/view.go:150 +0x4e github.com/spf13/cobra.(*Command).execute(0x198e89be1208, {0x198e89aec0a0, 0x2, 0x2}) /go/src/gitlab.com/gitlab-org/cli/vendor/github.com/spf13/cobra/command.go:1015 +0xb14 github.com/spf13/cobra.(*Command).ExecuteC(0x198e89d32908) /go/src/gitlab.com/gitlab-org/cli/vendor/github.com/spf13/cobra/command.go:1148 +0x465 github.com/spf13/cobra.(*Command).Execute(...) /go/src/gitlab.com/gitlab-org/cli/vendor/github.com/spf13/cobra/command.go:1071 github.com/spf13/cobra.(*Command).ExecuteContext(...) /go/src/gitlab.com/gitlab-org/cli/vendor/github.com/spf13/cobra/command.go:1064 charm.land/fang/v2.Execute({0x22ad9d8, 0x3397460}, 0x198e89d32908, {0x198e89fbfec0, 0x5, 0x5?}) /go/src/gitlab.com/gitlab-org/cli/vendor/charm.land/fang/v2/fang.go:173 +0x3a5 main.main() /go/src/gitlab.com/gitlab-org/cli/cmd/glab/main.go:185 +0xaac ``` Sometime i can click on job and get error Sometimes I just open child pipeline and it's just closed with error ![image](/uploads/76a0110607e8b00512e0acab76731cf4/image.png){width=900 height=266}
issue