profclems / glab

The GitLab CLI tool. Archived: now officially adopted by GitLab as the official CLI tool and maintained at https://gitlab.com/gitlab-org/cli. See https://github.com/profclems/glab/issues/983

Home Page:https://glab.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crash on mesa CI at gitlab.freedesktop.org

okias opened this issue · comments

Hello! First I want you to thank you for this amazing piece of software!
Second, report of crash:

Description
Crash on big CI ( gitlab.freedesktop.org ). There is lot of stages/pipelines...
Logs

$ glab ci view testing-1
2022/04/27 13:50:34 runtime error: index out of range [0] with length 0
goroutine 1 [running]:
runtime/debug.Stack()
	/opt/hostedtoolcache/go/1.17.5/x64/src/runtime/debug/stack.go:24 +0x65
github.com/profclems/glab/commands/ci/view.recoverPanic(0x30)
	/home/runner/work/glab/glab/commands/ci/view/view.go:546 +0x4c
panic({0xcfe8e0, 0xc000592030})
	/opt/hostedtoolcache/go/1.17.5/x64/src/runtime/panic.go:1038 +0x215
github.com/rivo/tview.(*Application).Run.func1()
	/home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20211029142923-a4acb08f513e/application.go:243 +0x4d
panic({0xcfe8e0, 0xc000592030})
	/opt/hostedtoolcache/go/1.17.5/x64/src/runtime/panic.go:1038 +0x215
github.com/profclems/glab/commands/ci/view.(*navigator).Navigate(0x0, {0x0, 0xc00062f7e8, 0x444a93}, 0x436036)
	/home/runner/work/glab/glab/commands/ci/view/view.go:299 +0x1ed
github.com/profclems/glab/commands/ci/view.inputCapture.func1(0xc0007cc0c0)
	/home/runner/work/glab/glab/commands/ci/view/view.go:164 +0x1d3
github.com/rivo/tview.(*Application).Run(0xc000642000)
	/home/runner/go/pkg/mod/github.com/rivo/tview@v0.0.0-20211029142923-a4acb08f513e/application.go:318 +0x782
github.com/profclems/glab/commands/ci/view.drawView({{0x7fffbb53342b, 0x9}, {0xc000517990, 0xa}, 0xc000134380, {0xc000024180, 0x28}, 0xc000522e00, {0xf5af60, 0xc00000e018}})
	/home/runner/work/glab/glab/commands/ci/view/view.go:135 +0x6a6
github.com/profclems/glab/commands/ci/view.NewCmdView.func1(0xc0004c3400, {0xc00059d6b0, 0x1, 0x1})
	/home/runner/work/glab/glab/commands/ci/view/view.go:98 +0x1fa
github.com/spf13/cobra.(*Command).execute(0xc0004c3400, {0xc00059d690, 0x1, 0x1})
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:856 +0x60e
github.com/spf13/cobra.(*Command).ExecuteC(0xc0005ac280)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:974 +0x3bc
main.main()
	/home/runner/work/glab/glab/cmd/glab/main.go:147 +0x90c

Your Environment
x86_64, GNOME

  • Version used (Run glab --version):
    glab version 1.22.0 (2022-01-10)

  • Operating System and version:
    Debian unstable/testing

This issue has been automatically marked as stale because it has not had recent activity. We haven't had the time to address it yet, but we want to keep it open. This message is just a reminder for us to help triage issues.

ok, trick was not loading the huge list which won't fit 4k screen (I heard 8k screens should work for Mesa CI), but pressing any button while jobs being loaded.