Skip to content

[lint-monster] workflow engine/log parser function-length slice #49701

Description

@github-actions

Summary

This lint slice targets the workflow engine and log-parser large-function findings from the current custom lint run. Keep remediation scoped to this slice only.

Findings in this slice

Current count in this slice: 24 shared largefunc findings. Representative diagnostics:

  • pkg/workflow/antigravity_engine.go:155:29: GetExecutionSteps is 207 lines long (limit: 60)
  • pkg/workflow/behavior_defined_engine.go:259:33: GetExecutionSteps is 139 lines long (limit: 60)
  • pkg/workflow/claude_logs.go:145:24: parseClaudeJSONLog is 185 lines long (limit: 60)
  • pkg/workflow/codex_engine.go:207:23: GetExecutionSteps is 318 lines long (limit: 60)
  • pkg/workflow/copilot_logs.go:323:25: ParseLogMetrics is 180 lines long (limit: 60)
  • pkg/workflow/pi_engine.go:295:20: GetExecutionSteps is 245 lines long (limit: 60)

Expected outcome

Reduce this engine/log-parser subset by extracting cohesive private helpers and simplifying phases while preserving behavior.

Remediation checklist

  • Keep work scoped to findings in this lint group only
  • Prefer minimal, targeted code edits
  • Extract cohesive helper functions or split focused internal phases when that reduces function length cleanly
  • Preserve behavior and existing tests
  • Validate with make golint-custom before handoff

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.

Copilot instructions

Focus only on workflow engine execution builders and workflow log parsers in this issue. Do not mix in unrelated parser/config/compiler cleanup. Report the exact functions shortened and any remaining largefunc findings in this slice after validation.

Generated by 🧌 LintMonster · gpt54 · 34.8 AIC · ⌖ 5.54 AIC · ⊞ 5.3K · ◷

  • expires on Aug 8, 2026, 7:47 PM UTC-08:00

Activity

  1. github-actions commented on Aug 2, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster selected this for Copilot

    I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.

    If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    🍪 Om nom nom by Issue Monster · gpt54 · 7.02 AIC · ⌖ 6.1 AIC · ⊞ 10.3K · ◷

  2. self-assigned this
    on Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions