Skip to content

chore(lint): golangci v2.12.2 — pin aligned, the new analyzers satisfied - #328

Merged
David-Noble-at-work merged 1 commit into
developfrom
chore/golangci-bump
Aug 7, 2026
Merged

David-Noble-at-work merged 1 commit into
developfrom
chore/golangci-bump

Conversation

@David-Noble-at-work

Copy link
Copy Markdown
Contributor

Item 12. CI's golangci pin moves v2.10.1 → v2.12.2, restoring the single-board contract with the local tool. The 24 findings v2.12 introduces are fixed deliberately: 23 deprecated reflect.Ptr → reflect.Pointer across 9 files, and one reasoned G115 suppression in hashString (string range yields code points, never negative; wraparound is the hash's intent). No .golangci.yaml change — the three-copy lockstep and the drift guard are untouched. Verified: suite green, uncapped board zero on Darwin and GOOS=linux under v2.12.2. Plan: docs/plans/golangci-bump.md.

The local tool auto-updated to v2.12.2 while CI pinned v2.10.1,
splitting the board. The pin moves to v2.12.2 and its findings are
fixed deliberately: 23 deprecated reflect.Ptr uses become
reflect.Pointer, and hashString's rune-to-uint32 gains a reasoned
G115 suppression (string range yields code points, never negative;
hash wraparound is the intent). No config change, so the three-copy
lockstep and drift guard are untouched. Board zero on both GOOS
under v2.12.2. Plan: docs/plans/golangci-bump.md.
@David-Noble-at-work David-Noble-at-work self-assigned this Aug 7, 2026
@David-Noble-at-work
David-Noble-at-work merged commit 69d8779 into develop Aug 7, 2026
2 checks passed
@David-Noble-at-work
David-Noble-at-work deleted the chore/golangci-bump branch August 7, 2026 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant