mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-08-04 21:33:23 +00:00
Test-only wave, contract-neutral. New *_branchcov0719pm_test.go files cover previously-uncovered pure value-in/value-out helpers, each verified to move its target functions from 0% to full coverage: - internal/agentcontext: formatKubernetesServicePorts (empty/single/cap/overflow arms) and addMetricFact (nil-metric, percent/value/ratio arms) now 100%. - pkg/reporting: reportLogoTypeFromPath 0->100, reportLogoTypeFromData 28.6->100, scaledLogoSize 70->90 (extension and aspect branches). - internal/cloudcp/email: RenderMagicLinkEmail 0->80 (render success path; the compile-time template-error arm is unreachable and left uncovered). - internal/recovery: recoveryDetailString (nil map, missing key, non-string, string arms) and recoveryPointObservedAt 40->100. - internal/ai/tools: ErrStrictResolution/ErrRoutingMismatch ToToolResponse 100. - internal/ai/providers: every NormalizeCollections receiver 0->100. No source or existing test modified. |
||
|---|---|---|
| .. | ||
| resource_context_sections.go | ||
| resource_context_sections_branchcov0719pm_test.go | ||
| resource_context_sections_test.go | ||