Skip to content

[deep-report] Fix dead Sergo new-linter detector: grep registry.go All(), not cmd/linters/main.go #47348

Description

@github-actions

Description

The linter registry authority moved to pkg/linters/registry.go func All(), and cmd/linters/main.go is now a one-line multichecker.Main(linters.All()...). The Sergo agent's historical new-linter detector grep -c 'Analyzer' cmd/linters/main.go is now dead (always returns the same value) and will silently miss future linter additions. Update the detector to grep -c '.Analyzer,' pkg/linters/registry.go (currently = 55).

Expected Impact

Restores accurate registry-delta detection for the Sergo audit so newly-added linters are actually audited; prevents silent coverage regressions in the largest-single-interval-growth linter family.

Suggested Agent

Sergo (Serena Go Expert) maintainer.

Estimated Effort

Fast (< 30 min)

Data Source

DeepReport 2026-07-22 analysis of Sergo report #47191 (detector authority moved; registry grew 43->55).

Generated by 🔬 Deep Report · age00 213.6 AIC · ⌖ 11 AIC · ⊞ 10.3K ·

  • expires on Jul 24, 2026, 7:26 AM UTC-08:00

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions