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
The custom analyzer registry has grown to 48 analyzers but the doc.go header still says "44 active analyzers". This stale count is misleading for contributors reading the documentation. While low-priority in isolation, this drift tends to compound (already drifted by 4 in one cycle) and will cause confusion when reviewing or onboarding.
Additionally, the new logfatallibrary analyzer is a strict subset of the already-CI-enforced rawloginlib. Both target the same Fatal/Fatalf/Fatalln functions from log package in the same file paths. This causes:
Zero added lint coverage
Double-reporting if both are enforced
Dual //nolint directives needed at every site
See issue #45379 for the partitioning fix. This issue tracks the doc.go count update as a prerequisite cleanup.
Description
The custom analyzer registry has grown to 48 analyzers but the
doc.goheader still says "44 active analyzers". This stale count is misleading for contributors reading the documentation. While low-priority in isolation, this drift tends to compound (already drifted by 4 in one cycle) and will cause confusion when reviewing or onboarding.Additionally, the new
logfatallibraryanalyzer is a strict subset of the already-CI-enforcedrawloginlib. Both target the sameFatal/Fatalf/Fatallnfunctions fromlogpackage in the same file paths. This causes://nolintdirectives needed at every siteSee issue #45379 for the partitioning fix. This issue tracks the
doc.gocount update as a prerequisite cleanup.Suggested Changes
doc.goanalyzer count from 44 → 48 (current registry count)grep -c Analyzer cmd/linters/main.goshould equal the documented count indoc.goFiles Affected
cmd/linters/doc.go(or equivalent header file documenting the analyzer count)cmd/linters/main.go(reference count source)Success Criteria
doc.gocount matchesgrep -c Analyzer cmd/linters/main.goSource
Extracted from Sergo Report: DELTA-43to48 New-Linter Audit — 2026-07-14
Priority
Low — documentation drift, no functional impact