You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[lint-monster] Handle ignored errors and discarded results #69596
The 2026-10-20 make golint-custom pre-check in §39360123187 reported 865 unchecked or ignored error/result findings across 156 Go files. Findings include unchecked writer results, deferred close errors, scanner errors, discarded results, and ignored type-assertion status.
144 other affected paths are represented in this run.
Representative diagnostics:
pkg/workflow/drive_memory.go:29:3: fmt.Fprintf error return is not checked.
pkg/parser/frontmatter_content.go:260:2: scanner loop does not check Err() after completion.
pkg/cli/edit_command.go:154:7: Close() error is explicitly discarded.
Remediation checklist
Address only unchecked errors and discarded results in this category; keep edits minimal and preserve existing behavior.
Handle errors according to each function contract. Check scanner errors after loops, report cleanup errors without hiding a primary error, and inspect type-assertion status where failure is possible.
Run make fmt after Go edits and make golint-custom; confirm this category has no remaining findings in the new output.
Activity