From 22239c34d67a808266a2d4e716e92b92c71cfca1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Feb 2026 06:29:36 +0000 Subject: [PATCH 1/2] Initial plan From e221b9a553b022def438973de628b3388faf8536 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Feb 2026 06:33:25 +0000 Subject: [PATCH 2/2] fix: wrap ExitError in error chain in run_workflow_validation.go Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/cli/run_workflow_validation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cli/run_workflow_validation.go b/pkg/cli/run_workflow_validation.go index 0c3d56f2e56..a2601b63ca1 100644 --- a/pkg/cli/run_workflow_validation.go +++ b/pkg/cli/run_workflow_validation.go @@ -285,7 +285,7 @@ func validateRemoteWorkflow(workflowName string, repoOverride string, verbose bo if err != nil { var exitError *exec.ExitError if errors.As(err, &exitError) { - return fmt.Errorf("failed to list workflows in repository '%s': %s", repoOverride, string(exitError.Stderr)) + return fmt.Errorf("failed to list workflows in repository '%s': %s: %w", repoOverride, string(exitError.Stderr), err) } return fmt.Errorf("failed to list workflows in repository '%s': %w", repoOverride, err) }