Repository navigation
[lint-monster] LintMonster daily scan: nil switch analyzer fix and findings #79987
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by LintMonster. A newer discussion is available at Discussion #80211. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Daily lint scan summary
The pre-check run §44976435291 panicked before emitting findings: the os.Stat analyzer passed the nil tag of an expressionless
switch {}toast.Inspect. After fixing that blocker, the full scan reported 2,931 diagnostics.Finding groups
largefuncfindings inpkg/workflowandpkg/cli.These groups remain open for focused remediation. The supplied pre-check did not provide those diagnostics because it stopped at the analyzer panic.
Pull request and validation
make fmtpassed.go test ./pkg/linters/os-stat-ignored-error-deref/... -count=1passed.GOMAXPROCS=2 make golint-custom LINTER_PACKAGES=./pkg/linters/os-stat-ignored-error-derefpassed.GOMAXPROCS=2 make golint-customcompleted with exit code 2 after reporting the 2,931 findings; it did not pass cleanly.Deferred categories
The remaining 513 findings span independent root causes and are listed separately rather than combined into one remediation group:
sort-slices: 156newline-split: 117json-string-copy: 102path-join: 34filepath-walk: 31json-trailing-data: 25os-isnotexist: 18strings-cut: 7reflect-deepequal: 6package-global-mutation: 6map-as-set: 4buffer-reset: 3strings-cutprefix: 2function-length-out-of-scope: 2 findings outsidepkg/workflowandpkg/cliThese categories were deferred because the initial scan stopped before emitting them and the post-fix run revealed a broad backlog that needs separate, focused implementations.
All reactions