Skip to content

[lint-monster] [Lint] Fix pkg/workflow function length violations (286 issues) #36050

@github-actions

Description

@github-actions

Summary

The custom linter has identified 286 function length violations in pkg/workflow. All violations exceed the 60-line limit.

Affected Subsystems

  • Workflow Compilation: compiler*.go files (main orchestrator, activation job, safe outputs, etc.)
  • Engine Implementations: *_engine.go and corresponding *_logs.go, *_tools.go files (copilot, claude, codex, antigravity, crush engines)
  • Configuration & Utilities: cache.go, checkout*.go, awf_*.go, concurrency.go

Remediation Strategy

  • Extract logical sub-functions from monolithic builders
  • Preserve all semantics - no behavior changes
  • Run make golint-custom to verify fixes

Validation Checklist

  • Extract functions from compiler*.go files
  • Refactor engine implementations
  • Break down configuration processors
  • Run make golint-custom and verify 0 violations
  • Run make test-unit to ensure no regressions

Generated by 🧌 LintMonster · haiku45 69.5K ·

  • expires on Jun 7, 2026, 3:50 AM UTC

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions