Skip to content

fix(lint): the unix Dev conversion — a platform-reasoned suppression - #322

Merged
David-Noble-at-work merged 1 commit into
developfrom
fix/lint-unix-unconvert
Aug 4, 2026
Merged

David-Noble-at-work merged 1 commit into
developfrom
fix/lint-unix-unconvert

Conversation

@David-Noble-at-work

Copy link
Copy Markdown
Contributor

Fix-forward for red develop. PR #321's own quality-gate run — the fixed gate's first honest verdict — caught an unconvert finding at pkg/op/provider/file/helpers_unix.go:29, visible only under Linux build tags (Stat_t.Dev is int32 on Darwin, uint64 on Linux). A defective merge command (checks piped through tail, 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 both GOOS values; process corrections (Linux-side recounts, explicit conclusion queries before merge) recorded in docs/plans/lint-gate-verdict.md.

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.
@David-Noble-at-work David-Noble-at-work self-assigned this Aug 4, 2026
@David-Noble-at-work
David-Noble-at-work merged commit 6079b07 into develop Aug 4, 2026
2 checks passed
@David-Noble-at-work
David-Noble-at-work deleted the fix/lint-unix-unconvert branch August 4, 2026 20:31
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