From fbe11999e931ffb4d5f426187b09ce72ec825ecc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Mar 2026 00:57:31 +0000 Subject: [PATCH 1/2] Initial plan From 2575c0fe4d1b2a6cf294f7e5737ee06742d79eb3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Mar 2026 01:03:43 +0000 Subject: [PATCH 2/2] Remove unused issueReportingJobParams struct to fix lint-go CI failure Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/missing_issue_reporting.go | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/pkg/workflow/missing_issue_reporting.go b/pkg/workflow/missing_issue_reporting.go index 264ce96dcf5..4abf71fcefd 100644 --- a/pkg/workflow/missing_issue_reporting.go +++ b/pkg/workflow/missing_issue_reporting.go @@ -19,26 +19,6 @@ type IssueReportingConfig struct { type MissingDataConfig = IssueReportingConfig type MissingToolConfig = IssueReportingConfig -// issueReportingJobParams carries the varying values that distinguish the missing-data and -// missing-tool jobs. All logic that differs between the two is expressed through these fields. -type issueReportingJobParams struct { - // kind is the snake_case identifier, e.g. "missing_data" or "missing_tool". - // It is used for job/step IDs, the safe-output type condition, and to derive the script path. - kind string - // envPrefix is the upper-case env-var prefix, e.g. "GH_AW_MISSING_DATA". - envPrefix string - // defaultTitle is the default issue title prefix, e.g. "[missing data]". - defaultTitle string - // outputKey is the primary output key in the job outputs map, e.g. "data_reported" or "tools_reported". - outputKey string - // stepName is the human-readable step name, e.g. "Record Missing Data". - stepName string - // config holds the resolved configuration values. - config *IssueReportingConfig - // log is the caller's package-scoped logger. - log *logger.Logger -} - func (c *Compiler) parseIssueReportingConfig(outputMap map[string]any, yamlKey, defaultTitle string, log *logger.Logger) *IssueReportingConfig { configData, exists := outputMap[yamlKey] if !exists {