-
Notifications
You must be signed in to change notification settings - Fork 46
Description
gh aw run daily-team-status
yields sometimes the following error:
it seems to be a timing issue or releated to performance of task.
Most of the time it disappears if i run it with --verbose flag
gh aw run daily-team-status --verbose
appened is the stacktrace of:
gh aw run daily-team-status
Successfully triggered workflow: daily-team-status.lock.yml fatal error: all goroutines are asleep - deadlock! goroutine 1 [select]: github.com/charmbracelet/bubbletea.(*Program).Send(...) github.com/charmbracelet/bubbletea@v1.3.10/tea.go:775 github.com/charmbracelet/bubbletea.(*Program).Quit(...) github.com/charmbracelet/bubbletea@v1.3.10/tea.go:789 github.com/githubnext/gh-aw/pkg/console.(*SpinnerWrapper).StopWithMessage(0x0?, {0xf667f8, 0x16}) github.com/githubnext/gh-aw/pkg/console/spinner.go:113 +0xbd github.com/githubnext/gh-aw/pkg/cli.getLatestWorkflowRunWithRetry({0xc0003d2040, 0x1a}, {0x0, 0x0}, 0x0) github.com/githubnext/gh-aw/pkg/cli/run_workflow_tracking.go:152 +0x12f9 github.com/githubnext/gh-aw/pkg/cli.RunWorkflowOnGitHub({0x122afb8, 0x18838c0}, {0x7fff184085af, 0x11}, 0x0, {0x0, 0x0}, {0x0, 0x0}, {0x0, ...}, ...) github.com/githubnext/gh-aw/pkg/cli/run_workflow_execution.go:455 +0x3ac6 github.com/githubnext/gh-aw/pkg/cli.RunWorkflowsOnGitHub.func1() github.com/githubnext/gh-aw/pkg/cli/run_workflow_execution.go:588 +0x4cf github.com/githubnext/gh-aw/pkg/cli.ExecuteWithRepeat({0x0, {0x0, 0x0}, {0xf667e2, 0x16}, 0xc000213880, 0x0, 0x0}) github.com/githubnext/gh-aw/pkg/cli/retry.go:38 +0xbf github.com/githubnext/gh-aw/pkg/cli.RunWorkflowsOnGitHub({0x122afb8, 0x18838c0}, {0xc00004ac70, 0x1, 0x1}, 0x0, 0x0, {0x0, 0x0}, {0x0, ...}, ...) github.com/githubnext/gh-aw/pkg/cli/run_workflow_execution.go:603 +0x634 main.init.func8(0x1852420, {0xc00004ac70, 0x1, 0x1}) github.com/githubnext/gh-aw/cmd/gh-aw/main.go:356 +0x4d9 github.com/spf13/cobra.(*Command).execute(0x1852420, {0xc00004ac40, 0x1, 0x1}) github.com/spf13/cobra@v1.10.2/command.go:1015 +0xb02 github.com/spf13/cobra.(*Command).ExecuteC(0x18512e0) github.com/spf13/cobra@v1.10.2/command.go:1148 +0x465 github.com/spf13/cobra.(*Command).Execute(...) github.com/spf13/cobra@v1.10.2/command.go:1071 main.main() github.com/githubnext/gh-aw/cmd/gh-aw/main.go:630 +0xbd