From ca552451a4a5f30545a1ee8a15c73c6e45caf49f Mon Sep 17 00:00:00 2001 From: mptyl Date: Tue, 11 Aug 2026 19:38:20 +0200 Subject: [PATCH] fix: carry the suggested FK artifact through thothctl JSON output --- tools/thothctl/internal/workspaceops/operations.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/thothctl/internal/workspaceops/operations.go b/tools/thothctl/internal/workspaceops/operations.go index f4fe2c9c..23d21be7 100644 --- a/tools/thothctl/internal/workspaceops/operations.go +++ b/tools/thothctl/internal/workspaceops/operations.go @@ -181,6 +181,7 @@ type Result struct { CompletedStages []string `json:"completedStages"` Counts map[string]int `json:"counts,omitempty"` ArtifactIdentities []ArtifactIdentity `json:"artifactIdentities,omitempty"` + SuggestedFksYAML string `json:"suggestedFksYaml,omitempty"` Warnings []string `json:"warnings,omitempty"` } @@ -316,6 +317,7 @@ func Execute(ctx context.Context, installation config.Installation, runner Runne return Result{}, errors.New("workspace FK output file could not be created safely") } } + response.Result.SuggestedFksYAML = response.SuggestedFksYAML return response.Result, nil }