Open sding3 opened 1 year ago
lab ci view --follow panics before downstream pipelines are created/running:
lab ci view --follow
$ lab ci view --follow 2023/03/01 09:58:15 ERROR: ci_view.go:487: runtime error: invalid memory address or nil pointer dereference goroutine 101 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:24 +0x65 github.com/zaquestion/lab/cmd.recoverPanic(0x0?) /tmp/lab/cmd/ci_view.go:487 +0x4c panic({0xce4ea0, 0x14ab880}) /usr/local/go/src/runtime/panic.go:838 +0x207 github.com/zaquestion/lab/internal/gitlab.CIJobs({0xcb5040?, 0xc00012a0a0}, 0x0?, 0x1, {0x0, 0x0}) /tmp/lab/internal/gitlab/gitlab.go:1278 +0x54f github.com/zaquestion/lab/cmd.updateJobs(0xc0002a4000, 0x1?) /tmp/lab/cmd/ci_view.go:498 +0xe5 created by github.com/zaquestion/lab/cmd.glob..func7 /tmp/lab/cmd/ci_view.go:97 +0x59b
My apologies for the late reply @sding3 . I'm trying to reproduce this but so far have been unsuccessful. Is it possible that you could point me to an MR where you can reproduce this?
lab ci view --follow
panics before downstream pipelines are created/running: