Skip to content

Commit fac1c33

Browse files
Copilotpelikhan
andauthored
fix: surface Docker image retry instructions in MCP compile error message (#19792)
* Initial plan * fix: include retry instructions in MCP error message for docker images not ready Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
1 parent d9e692e commit fac1c33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cli/mcp_tools_readonly.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Returns JSON array with validation results for each workflow:
129129
if args.Zizmor || args.Poutine || args.Actionlint {
130130
// Check if Docker images are available; if not, start downloading and return retry message
131131
if err := CheckAndPrepareDockerImages(ctx, args.Zizmor, args.Poutine, args.Actionlint); err != nil {
132-
return nil, nil, newMCPError(jsonrpc.CodeInternalError, "docker images not ready", err.Error())
132+
return nil, nil, newMCPError(jsonrpc.CodeInternalError, err.Error(), nil)
133133
}
134134

135135
// Check for cancellation after Docker image preparation

0 commit comments

Comments
 (0)