Repository navigation
fix(lint): the unix Dev conversion — a platform-reasoned suppression - #322
Merged
Merged
Conversation
The honest gate's first catch, on PR #321 itself: unconvert flags uint64(stat.Dev) under Linux build tags, where Dev is already uint64. On Darwin Dev is int32 and the conversion is required, so removal would break the build; the suppression gains unconvert with the platform reason. Verified zero findings under both GOOS values. The fallout record — including the two process failures that let a red PR merge — is in docs/plans/lint-gate-verdict.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.
Fix-forward for red develop. PR #321's own quality-gate run — the fixed gate's first honest verdict — caught an
unconvertfinding atpkg/op/provider/file/helpers_unix.go:29, visible only under Linux build tags (Stat_t.Devisint32on Darwin,uint64on Linux). A defective merge command (checks piped throughtail, gating on the wrong exit status) merged it anyway. The conversion is required on Darwin, so the fix is a suppression carrying the platform reason, not removal. Verified zero findings under bothGOOSvalues; process corrections (Linux-side recounts, explicit conclusion queries before merge) recorded indocs/plans/lint-gate-verdict.md.