Skip to content

[lint-monster] LintMonster: function-length refactoring (455 findings) #65471

Description

@github-actions
Function-length refactoring: 455 current findings

Findings

The current make golint-custom run reports 455 functions over the 60-line limit across pkg/cli (296) and pkg/workflow (159). This is the single shared tracking topic for the backlog. The label-filtered searches found no matching open or recent closed lint-monster tracking issue, so this is the authoritative issue for the current count. No duplicate issues were linked or closed.

Representative next files to refactor, based on current finding counts, include pkg/cli/audit_diff_render.go, pkg/workflow/cache_memory.go, pkg/workflow/central_slash_command_workflow.go, pkg/workflow/compiler_safe_outputs_steps.go, and pkg/cli/audit_diff.go.

Remediation checklist

  • Refactor the listed functions in small slices, extracting focused helpers while preserving behavior.
  • Keep each change scoped to current function-length findings in pkg/cli and pkg/workflow; avoid unrelated cleanup.
  • Prefer minimal, targeted edits and update affected tests where behavior boundaries change.
  • Run make golint-custom and refresh this issue’s count and affected paths from that run.

Expected outcome: the shared function-length backlog shrinks without behavior changes, with the remaining count tracked from the latest lint run.

Generated by 🧌 LintMonster · codex · gpt60 · 214.5 AIC · ⌖ 29.7 AIC · ⊞ 15.5K · ◷

  • expires on Oct 10, 2026, 7:28 PM UTC-08:00

Activity

  1. github-actions commented on Oct 11, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-10-11T03:28:28.946Z.

    Closed by Workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions