Summary
Current make golint-custom reports 662 shared long-function findings across pkg/workflow and pkg/cli. This issue is the single authoritative tracker for the shared function-length refactoring backlog for this run.
Current count
- 662 total findings
pkg/workflow: 284 findings
pkg/cli: 378 findings
Representative diagnostics
pkg/workflow/antigravity_engine.go:155: GetExecutionSteps is 204 lines long (limit: 60)
pkg/workflow/awf_helpers.go:229: BuildAWFCommand is 372 lines long (limit: 60)
pkg/workflow/compiler_safe_outputs_job.go:269: buildSafeOutputsHandlerOutputsAndActionSteps is 220 lines long (limit: 60)
pkg/cli/add_interactive_git.go:26: createWorkflowPRAndConfigureSecret is 171 lines long (limit: 60)
pkg/cli/audit_diff.go:67: computeFirewallDiff is 144 lines long (limit: 60)
Expected outcome
Reduce this shared backlog with narrow, behavior-preserving refactors that extract cohesive helpers and shrink long functions incrementally.
Remediation checklist
Next slices
Duplicate tracking
Fused skill guidance
- Validate fixes by running
make golint-custom
- Keep remediation scoped to findings in the assigned lint group
- Prefer minimal, targeted code edits
Generated by 🧌 LintMonster · gpt54 · 60.2 AIC · ⌖ 9.02 AIC · ⊞ 4.6K · ◷
Summary
Current
make golint-customreports 662 shared long-function findings acrosspkg/workflowandpkg/cli. This issue is the single authoritative tracker for the sharedfunction-length refactoringbacklog for this run.Current count
pkg/workflow: 284 findingspkg/cli: 378 findingsRepresentative diagnostics
pkg/workflow/antigravity_engine.go:155:GetExecutionStepsis 204 lines long (limit: 60)pkg/workflow/awf_helpers.go:229:BuildAWFCommandis 372 lines long (limit: 60)pkg/workflow/compiler_safe_outputs_job.go:269:buildSafeOutputsHandlerOutputsAndActionStepsis 220 lines long (limit: 60)pkg/cli/add_interactive_git.go:26:createWorkflowPRAndConfigureSecretis 171 lines long (limit: 60)pkg/cli/audit_diff.go:67:computeFirewallDiffis 144 lines long (limit: 60)Expected outcome
Reduce this shared backlog with narrow, behavior-preserving refactors that extract cohesive helpers and shrink long functions incrementally.
Remediation checklist
pkg/workflow/pkg/clifunction-length backlogmake golint-custommake golint-customNext slices
pkg/workflowpkg/workflowpkg/workflowpkg/cliDuplicate tracking
update_issuecannot target [lint-monster] [Code Quality] Shared function-length refactoring backlog for pkg/workflow and pkg/cli (677 findings) #46514 from this workflow contextFused skill guidance
make golint-custom