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 #71980
The pre-check reported 734 unchecked or discarded error/result findings across 163 files. This change resolves the seven scanner loops identified in that snapshot. The remaining findings are 727 across 157 files.
Most affected paths (remaining):pkg/workflow/drive_memory.go (73), pkg/workflow/cache_memory.go (59), pkg/workflow/checkout_step_generator.go (22), pkg/cli/generate_action_metadata_command.go (22), pkg/workflow/mcp_config_custom.go (17), pkg/cli/gateway_logs_timeline_render.go (17), cmd/gh-aw/main.go (16), pkg/workflow/compiler_yaml_step_conversion.go (15), pkg/cli/add_workflow_pr.go (15), and pkg/workflow/compiler_yaml_checkout.go (14), plus 147 other files.
Representative remaining diagnostics:pkg/console/spinner.go:208:4 discards both results with blank identifiers; pkg/cli/model_routing.go:270:6 discards a filepath.WalkDir error.
Remediation checklist
Check Scanner.Err() in all seven affected loops and propagate failures through error-returning callers.
Handle remaining unchecked writes, close errors, discarded function results, and type-assertion results according to each function contract.
Keep edits scoped to this category and use minimal changes that preserve behavior.
Run make golint-custom and confirm this category is clean.
This PR addresses the scanner-loop subset. The category remains open for the other 727 findings.
Related broader tracking: open AW Essential issue #71385 mentions indexing and ignored-error findings. It is outside the verified LintMonster inventory and remains separate from this category tracker.
Activity
github-actions commentedon Nov 7, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, Copilot will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪