Repository navigation
Not planned
Labels
Description
Daily custom lint findings
The 2026-10-13 make golint-custom scan reported 847 ignored-results findings across 171 files. Scan run: §38339220851.
Representative diagnostics
pkg/console/confirm.go:60:2: error return from fmt.Fprintf() is not checked; write failures may be silently ignoredpkg/parser/frontmatter_content.go:260:2: Scanner loop does not check Err() after completion; read errors may be silently droppedpkg/typeutil/lookup.go:14:11: type assertion ok value is explicitly discarded with blank identifier; use single-value form x.(bool) or check the ok value instead
Affected paths
pkg/workflow/drive_memory.go(74)pkg/workflow/cache_memory.go(60)pkg/workflow/compiler_yaml_step_lifecycle.go(38)pkg/workflow/jobs.go(27)pkg/workflow/checkout_step_generator.go(23)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)pkg/workflow/compiler_yaml_checkout.go(14)pkg/workflow/mcp_renderer.go(12)pkg/workflow/mcp_setup_scripts.go(12)pkg/cli/audit_cross_run_clusters_render.go(12)pkg/cli/interactive.go(12)pkg/cli/logs_format_tsv.go(12)pkg/workflow/compiler_github_mcp_steps.go(11)pkg/workflow/enclaves.go(11)pkg/cli/bootstrap_config.go(11)pkg/workflow/observability_otlp.go(11)pkg/cli/shellcheck.go(10)pkg/workflow/workflow_errors.go(10)pkg/console/render.go(9)pkg/workflow/compiler_difc_proxy.go(9)pkg/cli/trial_confirmation.go(9)pkg/workflow/checkout_input_render.go(8)pkg/workflow/mcp_renderer_section_helpers.go(8)pkg/workflow/repo_memory_prompt.go(8)pkg/parser/import_schema_validation.go(8)pkg/console/spinner.go(7)pkg/console/terminal.go(7)pkg/workflow/cache_steps.go(7)pkg/workflow/jira_tools.go(7)pkg/workflow/template_injection_utils.go(7)pkg/cli/gateway_logs_render.go(7)pkg/workflow/samples_validation.go(7)pkg/console/console.go(6)pkg/console/print.go(6)pkg/workflow/compiler_experiments.go(6)pkg/workflow/compiler_github_actions_steps.go(6)pkg/workflow/header.go(6)pkg/workflow/mcp_setup_gateway.go(6)pkg/cli/compile_guard_policy_report.go(6)pkg/workflow/copilot_logs.go(6)pkg/cli/audit_threat_detection.go(6)pkg/workflow/ledger.go(5)pkg/workflow/samples_replay.go(5)pkg/cli/import_url_fetcher.go(5)pkg/console/confirm.go(4)pkg/console/list.go(4)pkg/workflow/template.go(4)pkg/cli/observability_insights.go(4)pkg/cli/retry.go(4)pkg/workflow/compiler_orchestrator_workflow.go(4)pkg/workflow/tools.go(4)pkg/cli/edit_command.go(3)pkg/console/prompt_form.go(3)pkg/validationerror/validationerror.go(3)pkg/workflow/compiler_daily_aic_repo_memory.go(3)pkg/workflow/compiler_yaml_prompt.go(3)pkg/workflow/mcp_renderer_github.go(3)pkg/workflow/permissions_validation.go(3)pkg/workflow/publish_artifacts.go(3)pkg/workflow/redact_secrets.go(3)pkg/workflow/tools_validation_github_toolsets.go(3)pkg/workflow/unified_prompt_step.go(3)pkg/cli/mcp_argument_validation.go(3)pkg/cli/tool_graph.go(3)pkg/workflow/runtime_overrides.go(3)pkg/workflow/safe_outputs_data_schema.go(3)pkg/cli/codemod_bash_allowlist_unsupported_engine.go(3)pkg/cli/bootstrap_profile_github_app.go(2)pkg/cli/deps_outdated.go(2)pkg/cli/deps_security.go(2)pkg/parser/include_expander.go(2)pkg/cli/outcome_eval_enrich.go(2)pkg/console/banner.go(2)pkg/workflow/arc_dind_artifacts.go(2)pkg/workflow/compiler_main_job_ledger.go(2)pkg/workflow/compiler_pre_activation_job.go(2)pkg/workflow/compiler_validators.go(2)pkg/workflow/compiler_yaml_step_generation.go(2)pkg/workflow/frontmatter_error.go(2)pkg/workflow/mcp_setup_safe_outputs.go(2)pkg/workflow/publish_assets.go(2)pkg/workflow/sub_agent_step.go(2)pkg/workflow/validation_helpers.go(2)pkg/cli/copilot_agents.go(2)pkg/cli/update_org.go(2)pkg/parser/import_observability.go(2)pkg/workflow/dependabot_reconcile.go(2)pkg/workflow/frontmatter_parsing.go(2)pkg/workflow/run_step_sanitizer.go(2)pkg/workflow/safe_outputs_call_workflow.go(2)pkg/cli/codemod_sandbox_runtime_profile.go(2)pkg/cli/audit_report.go(2)pkg/cli/compile_update_check.go(2)pkg/cli/gateway_logs_rpc.go(2)pkg/cli/gateway_logs_timeline.go(2)pkg/cli/graders_run.go(2)pkg/cli/logs_download_zip.go(2)pkg/cli/logs_work_queue.go(2)pkg/cli/mcp_inspect_mcp.go(2)pkg/cli/model_routing.go(2)pkg/workflow/compiler_yaml_main_job.go(1)pkg/cli/docker_images.go(1)pkg/cli/trial_repository.go(1)pkg/cli/update_extension_check.go(1)pkg/parser/frontmatter_content.go(1)pkg/parser/include_processor.go(1)pkg/cli/experiments_fetch.go(1)pkg/cli/imports.go(1)pkg/cli/includes.go(1)pkg/cli/zizmor.go(1)pkg/console/verbose.go(1)pkg/scanfindings/scanfindings.go(1)pkg/workflow/compiler_activation_job.go(1)pkg/workflow/copilot_engine_execution.go(1)pkg/workflow/copilot_engine_tools.go(1)pkg/workflow/copilot_mcp.go(1)pkg/workflow/engine_output.go(1)pkg/workflow/inline_skill_step.go(1)pkg/workflow/js.go(1)pkg/workflow/markdown_security_scanner.go(1)pkg/workflow/repo_memory_ledger_safe_output.go(1)pkg/workflow/yaml_env_helpers.go(1)pkg/cli/compile_schedule_calendar.go(1)pkg/cli/logs_orchestrator_render.go(1)pkg/cli/logs_rate_limit.go(1)pkg/typeutil/lookup.go(1)pkg/workflow/add_reviewer.go(1)pkg/workflow/assign_to_user.go(1)pkg/workflow/close_entity_helpers.go(1)pkg/workflow/comment_memory.go(1)pkg/workflow/drive_memory_config.go(1)pkg/workflow/linear_safe_outputs.go(1)pkg/workflow/plugins_frontmatter.go(1)pkg/workflow/skills_frontmatter.go(1)pkg/cli/codemod_cli_proxy_bash.go(1)pkg/cli/domains_command.go(1)pkg/cli/forecast_metadata.go(1)pkg/cli/project_command.go(1)pkg/linters/slicemakezerolength/slicemakezerolength.go(1)pkg/fileutil/fileutil.go(1)pkg/parser/remote_client.go(1)pkg/parser/remote_download_file.go(1)pkg/parser/remote_resolve_sha.go(1)pkg/workflow/graders_operational_value.go(1)pkg/workflow/resolve.go(1)pkg/cli/access_log.go(1)pkg/cli/audit_expanded.go(1)pkg/cli/audit_threat_detection_session.go(1)pkg/cli/compile_watch.go(1)pkg/cli/copilot_agent.go(1)pkg/cli/copilot_events_jsonl.go(1)pkg/cli/firewall_log.go(1)pkg/cli/firewall_policy.go(1)pkg/cli/gateway_logs_mcp.go(1)pkg/cli/gateway_logs_parsing.go(1)pkg/cli/logs_github_rate_limit_usage.go(1)pkg/cli/logs_work_queue_current.go(1)pkg/cli/mcp_registry.go(1)pkg/cli/mcp_safe_update_cache.go(1)pkg/cli/model_routing_session.go(1)pkg/cli/outcome_eval_jsonl.go(1)pkg/cli/redacted_domains.go(1)pkg/cli/token_usage_parse.go(1)pkg/cli/token_usage_steering.go(1)pkg/cli/token_usage_subagent_session.go(1)pkg/cli/update_workflows.go(1)
Remediation checklist
- Use the current unchecked/ignored-result diagnostics from
make golint-customand address only findings in this category. - Handle errors according to each call site's behavior: propagate them where callers can act, report them where appropriate, or explicitly document intentional best-effort behavior using established repository patterns.
- Check scanner errors after iteration, make deferred cleanup errors observable where appropriate, and either remove meaningless blank-result assignments or use/check results. For type assertions, choose single-value form only when panic behavior is intended; otherwise check
okand handle failure. - Keep edits small and preserve intended behavior. Do not suppress findings or change linter rules.
- Run
make golint-customand confirm this category no longer reports findings; other categories may still fail during this focused pass.
Generated by 🧌 LintMonster · codex · gpt60 · 3.97 AIC · ⌖ 0.476 AIC · ⊞ 16K · ◷
Activity