mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-08-07 16:07:07 +00:00
Eight new branch-coverage tests taking thirty-one previously unreached functions from zero to covered, with no source or existing test touched. internal/kubernetesagent: twenty-one pure report helpers, including the pointer converters proved non-aliasing in both directions, the ingress host and address collectors across their trim, dedupe and insertion-order arms, the endpoint slice readiness count where a nil Ready field counts as ready, and the target role predicate. internal/agentexec: the sudo long-option value gate over the real option list including the inline equals form, and the approval grant verification error unwrapped through errors.Is. internal/alerts: the alert config alias normalization across the nil config guard, the empty threshold early return, the blank type-key continue arm and the legacy-delete versus supported-keep split, asserting both maps stay independent. internal/alerts/specs: the resource incident rollup evidence validation, each failure arm asserted on its concrete error and the check order pinned when several fields are invalid at once. internal/cloudcp/docker: the not-found predicate through a wrapped error, the route host label precedence, and the Traefik host rule parser across quoting styles, combined matchers, multiple host clauses and malformed input. internal/cloudcp/portal: the anonymous bootstrap builder, asserting no tenant or user identity field is ever populated on the anonymous result. internal/config: the legacy OIDC environment provider, including the arm where an already-configured provider is present and the redirect derivation from a public URL with a trailing slash. internal/dockeragent: the update-all payload decode across wrong-typed and missing fields, and the docker filter conversion. Contract-Neutral: test-only branch coverage, no contract surface touched |
||
|---|---|---|
| .. | ||
| labels.go | ||
| manager.go | ||
| manager_integration_test.go | ||
| manager_routing_branchcov0723am_test.go | ||
| manager_test.go | ||