Repository navigation
chore(lint): golangci v2.12.2 — pin aligned, the new analyzers satisfied - #328
Merged
Merged
Conversation
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.
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.
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.Pointeracross 9 files, and one reasoned G115 suppression inhashString(string range yields code points, never negative; wraparound is the hash's intent). No.golangci.yamlchange — the three-copy lockstep and the drift guard are untouched. Verified: suite green, uncapped board zero on Darwin andGOOS=linuxunder v2.12.2. Plan:docs/plans/golangci-bump.md.