mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 10:35:51 +00:00
fe09420bcb
The docker container lifecycle codec in agentexec had a contract test that never exercised the codec functions at runtime, leaving decode, bind, validate and identity helpers at zero coverage. This adds a table-driven test taking each to near or full coverage including every validation error arm. In aicontracts, CloneActionReference, IsNilAlertPayload and DefaultEngineConfig were uncovered, so this covers the nil and populated arms and asserts CloneActionReference produces an independent deep copy. Both are new test-only files. No source changed. Verified with go test, gofmt and go vet, with each target function confirmed to move off zero coverage.