Skip to content

[deep-report] Add 6 missing analyzers to pkg/linters/spec_test.go and fix stale count comment #36941

Closed as not planned

Description

@github-actions

Description

The custom linter multichecker registers 21 analyzers in cmd/linters/main.go, but pkg/linters/spec_test.go (documentedAnalyzers()) only validates 15 — leaving 6 production-active analyzers with no spec regression protection: contextcancelnotdeferred, fmterrorfnoverbs, jsonmarshalignoredeerror, seenmapbool, strconvparseignorederror, tolowerequalfold. All 6 are fully implemented with unit tests and testdata; jsonmarshalignoredeerror even has 13 active //nolint: sites proving live enforcement. The stale comment at spec_test.go:44 still says the README documents 15.

Acceptance Criteria

  • Add all 6 analyzers to documentedAnalyzers() in pkg/linters/spec_test.go.
  • Update the 15 count comment to 21.
  • go test ./pkg/linters/... passes.

Expected Impact

Closes the spec-coverage gap so future analyzer additions/removals are caught by the spec test; protects 6 currently-unguarded production linters.

Suggested Agent

Dead Code Removal Agent or any Go refactoring agent.

Estimated Effort

Quick (< 1 hour)

Data Source

DeepReport 2026-06-04; source report #36919.

Generated by 🔬 DeepReport - Intelligence Gathering Agent · opus48 17.8M · ◷

  • expires on Jun 6, 2026, 4:01 PM UTC

Activity

  1. github-actions commented on Jun 5, 2026

    @github-actions
    ContributorAuthor

    🍪 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, the Copilot coding agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    🍪 Om nom nom by Issue Monster · haiku45 27.5K · agent 33.6 AIC · threat-detection 12.8 AIC · ◷

  2. github-actions commented on Jun 6, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-06-06T16:01:33.224Z.

    Closed by Workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

automationcookieimprovementquick-win

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions