## Summary Custom lint scan found **42** non-`largefunc` performance/style findings that mostly share one root cause: repeated string concatenation with `+=` inside loops. Breakdown: - 41x `+=` string-in-loop findings that should become `strings.Builder` usage - 1x map-set allocation finding (`map[string]bool` used as a set) Hotspots: - `pkg/workflow/checkout_config_parser.go` — 10 findings - `pkg/cli/audit_report_render.go` — 8 findings - `pkg/cli/bootstrap_config.go` — 4 findings - several smaller occurrences across `pkg/workflow` and `pkg/cli` - `pkg/actionpins/actionpins_internal_test.go:173` — replace `map[string]bool` set usage with `map[string]struct{}` Representative diagnostics: - `pkg/workflow/checkout_config_parser.go:316` — string concatenation with `+=` inside a loop allocates O(n2) bytes; use `strings.Builder` - `pkg/cli/audit_report_render.go` — multiple repeated loop concatenation findings - `pkg/actionpins/actionpins_internal_test.go:173` — use `map[string]struct{}` for a set ## Expected outcome Convert loop-based string building to `strings.Builder` (or equivalent minimal fix) and update the one set-like map allocation pattern. ## Remediation checklist - [ ] Group edits by file and keep each change minimal. - [ ] Prefer `strings.Builder` for loop-accumulated strings; preserve exact output. - [ ] Replace `map[string]bool` set usage with `map[string]struct{}` where no boolean state is needed. - [ ] Avoid touching any `largefunc` refactors in this issue. - [ ] Validate with `make golint-custom`. <!-- gh-aw-tracker-id: lint-monster --> > Generated by [🧌 LintMonster](https://github.com/github/gh-aw/actions/runs/30511498181) · gpt54 · 35.3 AIC · ⌖ 7.93 AIC · ⊞ 5.3K · [◷](https://github.com/search?q=repo%3Agithub%2Fgh-aw+is%3Aissue+%22gh-aw-workflow-call-id%3A+github%2Fgh-aw%2Flint-monster%22&type=issues) > - [x] expires <!-- gh-aw-expires: 2026-08-06T03:41:29.467Z --> on Aug 5, 2026, 7:41 PM UTC-08:00 <!-- gh-aw-agentic-workflow: LintMonster, gh-aw-tracker-id: lint-monster, engine: pi, model: copilot/gpt-5.4, id: 30511498181, workflow_id: lint-monster, run: https://github.com/github/gh-aw/actions/runs/30511498181 --> <!-- gh-aw-workflow-id: lint-monster --> <!-- gh-aw-workflow-call-id: github/gh-aw/lint-monster -->
Activity
github-actions commentedon Aug 6, 2026
This issue was automatically closed because it expired on 2026-08-06T03:41:29.467Z.