mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-08-22 15:33:46 +00:00
Test-only wave (GLM nightly grunt): new *_branchcov0720am_test.go files raising branch coverage on previously-uncovered pure value-in/value-out functions. No source changed; contract-neutral. internal/unifiedresources (10 files): monitored_system_projection selector matchers (Agent/Proxmox/PMG/K8s), physical_disk risk classifier + metric-id builder, availability lookup, monitored_systems reason/suffix helpers, action refusal classifier + human-action-binding validation, action auto-authorization class validate/normalize, host APT digest validator, patrol-autopilot stored-evidence validation, canonical governance metadata projection, top-level identity basis. internal/platformsupport: host-identity token/profile lookup + deep-copy safety. internal/vmware: fixture activity-change projection + connection-error guard. internal/mock: discovery-fixture type/target filters. internal/mockruntime: startup-enabled env gate. Each new test drives every distinct branch (nil/empty, each conditional arm, error sentinels via errors.Is, and returned-copy independence) and verified 0%->covered on its target functions. Two named functions were intentionally left uncovered as branchless (ActionPolicyAuthorizationDigest; the default-build ValidateEnablement, whose branchy twin sits behind the release build tag). |
||
|---|---|---|
| .. | ||
| control_dev.go | ||
| control_dev_validate_branchcov0720am_test.go | ||
| control_release.go | ||
| runtime.go | ||