chore(lint): clear 13 golangci-lint findings (ag-tcf0.1 #golangci-lint-clear)#777
Merged
Conversation
…pyloopvar) (ag-tcf0.1 #golangci-lint-clear)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Clears all outstanding
golangci-lint runfindings incli/— 13 issues across 8 files. Pure mechanical lint cleanup, no behavior change. (Several were hidden behind golangci-lint's defaultmax-same-issues=3display cap; running with caps disabled surfaced the full set.)f.Close()→defer func() { _ = f.Close() }()/_ = f.Close()reconcileCIRun(run),reconcileBeadSummary(issue))b.WriteString(fmt.Sprintf(...))→fmt.Fprintf(&b, ...)!(a && b)→ `a'fx := fx(Go 1.22+ per-iteration loop var; go.mod is 1.26)Files:
loop_blocked.go,loop_next_work.go,cron_self_adjust.go,reconcile.go,provenance_trace_test.go,internal/canon/ledger.go,internal/scenarios/validate.go,internal/skills/catalog.go.Verification
go build ./...✅ ·go vet ./...✅golangci-lint run --max-same-issues 0 --max-issues-per-linter 0→ 0 issues ✅go test ./internal/canon/... ./internal/scenarios/... ./internal/skills/...→ 116 passed ✅cmd/aotests (provenance/reconcile/cron/blocked/next-work) → ok ✅scripts/pre-push-gate.sh --fast→ passed ✅Closes-scenario: ag-tcf0.1#golangci-lint-clear
Bounded-context: BC5-Runtime
Evidence: golangci-lint run --max-same-issues 0 → 0 issues (verified locally; CI re-runs the omnibus gate)