Skip to content

[lint-monster] lint-monster: function-length refactoring backlog #47179

Description

@github-actions

Tracking issue for function-length backlog detected by daily lint scan.

Current scan:

  • Total findings: 687
  • pkg/workflow findings: 288
  • pkg/cli findings: 378
  • other findings: 21

Representative diagnostics:

  • pkg/workflow/claude_engine.go: GetExecutionSteps is 373 lines long (limit: 60)
  • pkg/workflow/compiler_safe_outputs_job.go: buildSafeOutputsJobFromParts is 271 lines long (limit: 60)
  • pkg/cli/audit_report_render.go: renderConsole is 310 lines long (limit: 60)
  • pkg/cli/add_interactive_git.go: createWorkflowPRAndConfigureSecret is 171 lines long (limit: 60)
  • main.go: init is 443 lines long (limit: 60)

Affected paths:

  • pkg/workflow
  • pkg/cli
  • main.go

Expected outcome:

  • Reduce the current long-function backlog by extracting helpers and splitting responsibilities until the current findings in these paths are resolved or materially reduced.

Remediation checklist:

  • Keep work scoped to function-length findings in the assigned slice
  • Prefer minimal, targeted code edits
  • Extract cohesive helper functions or move independent logic into focused files where that reduces function length cleanly
  • Preserve behavior and existing tests
  • Run make golint-custom before handoff and include the updated result

Current authoritative count: 687 findings across the shared function-length refactoring topic.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • pi.dev

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "pi.dev"

See Network Configuration for more information.

Generated by 🧌 LintMonster · gpt54 19.3 AIC · ⌖ 5.83 AIC · ⊞ 4.5K ·

  • expires on Jul 28, 2026, 7:44 PM UTC-08:00

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions