Task · GOB-0020

Prune change-detector unit tests

Description

From the 2026-09-25 fleet test-signal audit (sampled read-only). Delete or consolidate tautological tests (restating the implementation) and change-detector tests (pinning incidental text, markup, counts or internals). Keep parsing, state-machine, retry, security/PII, wire-contract and incident regression tests. Re-verify each candidate before deleting it; the list below comes from a sample and is not exhaustive. Candidates: internal/version/version_test.go:7 (only checks the string is non-empty); internal/app/labels_test.go:28 (hardcoded label-key union list; keep only if it is a documented contract). Keep the generated-doc drift gates (helm_generated_test.go, ecs_config_generated_test.go); they are CI drift checks, not logic tests. Suite was about 82% valuable, so the task is small.

Acceptance Criteria

Definition of Done

View the source file on GitHub