Summary
Custom lint scan found 9 focused non-function-length findings suited for a small cleanup pass.
This group intentionally excludes the shared function-length backlog and the process-environment coupling backlog.
Included root causes
- unnecessary
[]byte(...) conversion in append calls
- context propagation (
context.Background() instead of the provided context.Context)
- error wrapping (
%v vs %w)
- parameter-count cleanup (9 params → options struct or equivalent)
Affected paths
pkg/workflow/action_cache.go
pkg/cli/logs_rate_limit.go
pkg/workflow/compiler_orchestrator_frontmatter.go
pkg/parser/remote_fetch.go
Representative diagnostics
pkg/workflow/action_cache.go:275: unnecessary []byte conversion in append
pkg/cli/logs_rate_limit.go:81: use the passed context.Context instead of context.Background()
pkg/workflow/compiler_orchestrator_frontmatter.go:88: use %w to preserve the error chain
pkg/parser/remote_fetch.go:826: resolveRemoteSymlinkComponent has 9 parameters
Expected outcome
Clear these low-risk findings with targeted edits and no behavior change.
Remediation checklist
Fused guidance: keep remediation scoped to the assigned lint group, prefer minimal targeted edits, and validate with make golint-custom.
Generated by 🧌 LintMonster · 39.2 AIC · ⌖ 6.94 AIC · ⊞ 4.4K · ◷
Summary
Custom lint scan found 9 focused non-function-length findings suited for a small cleanup pass.
This group intentionally excludes the shared function-length backlog and the process-environment coupling backlog.
Included root causes
[]byte(...)conversion inappendcallscontext.Background()instead of the providedcontext.Context)%vvs%w)Affected paths
pkg/workflow/action_cache.gopkg/cli/logs_rate_limit.gopkg/workflow/compiler_orchestrator_frontmatter.gopkg/parser/remote_fetch.goRepresentative diagnostics
pkg/workflow/action_cache.go:275: unnecessary[]byteconversion inappendpkg/cli/logs_rate_limit.go:81: use the passedcontext.Contextinstead ofcontext.Background()pkg/workflow/compiler_orchestrator_frontmatter.go:88: use%wto preserve the error chainpkg/parser/remote_fetch.go:826:resolveRemoteSymlinkComponenthas 9 parametersExpected outcome
Clear these low-risk findings with targeted edits and no behavior change.
Remediation checklist
make golint-custom.