Untested code: 419 mutants no test reaches (boot, run, hostinfo, smoke) #91

Open
opened 2026-08-22 15:51:37 +00:00 by a73x · 0 comments
a73x commented 2026-08-22 15:51:37 +00:00 (Migrated from git.a73x.sh)

[claude 2026-08-22] From the mutation baseline. These packages have mutants no test reaches at all — code that runs in production and never in the suite. Mutant coverage, worst first:

PACKAGE                       UNREACHED   MUTCOV
internal/agent/dhcp                   5   28.57%
internal/server/boot                 45   40.79%
internal/agent/run                   26   46.94%
internal/names                       11   52.17%
internal/agent/hostinfo              37   53.16%
internal/server/release              13   61.76%
internal/covsnap                      1   66.67%
internal/smoke                       77   70.04%
internal/agent/netsnoop              10   70.59%
internal/gateclient                   9   70.97%
internal/server/registry              2   71.43%

internal/server/boot (45 unreached) and internal/agent/run (26) are the two that matter most — both are startup paths, where a bug shows up as a host that never comes back.

Unlike the efficacy issues, these need new tests, not new assertions.


Migrated from git-collab issue 08d8325c9f4873733158452ba10551a26ad41f62.

Original author: a73x dev@a73x.sh.

[claude 2026-08-22] From the mutation baseline. These packages have mutants no test reaches at all — code that runs in production and never in the suite. Mutant coverage, worst first: ``` PACKAGE UNREACHED MUTCOV internal/agent/dhcp 5 28.57% internal/server/boot 45 40.79% internal/agent/run 26 46.94% internal/names 11 52.17% internal/agent/hostinfo 37 53.16% internal/server/release 13 61.76% internal/covsnap 1 66.67% internal/smoke 77 70.04% internal/agent/netsnoop 10 70.59% internal/gateclient 9 70.97% internal/server/registry 2 71.43% ``` internal/server/boot (45 unreached) and internal/agent/run (26) are the two that matter most — both are startup paths, where a bug shows up as a host that never comes back. Unlike the efficacy issues, these need new tests, not new assertions. --- Migrated from git-collab issue `08d8325c9f4873733158452ba10551a26ad41f62`. Original author: a73x <dev@a73x.sh>.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
a73x/eitri#91
No description provided.