mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-23 20:25:56 +00:00
dc6b5c3197
Two AI write paths asserted unverified success while the Proxmox guest and Docker start/stop/restart handlers already do read-after-write checks. Bring both in line with that idiom: - pulse_kubernetes scale: re-read the deployment's spec/ready replicas via kubectl through the same agent (bounded settle-and-retry window) and return a JSON response with a verification block instead of "Action complete - no verification needed". - pulse_docker update: the docker agent already recreates the container, health-checks it, rolls back on failure, and acks a terminal command status; expose that status through a new Monitor lookup (GetDockerCommandStatus) plus UpdatesProvider.GetCommandStatus, and poll it within a bounded window. Responses now report verified success, verified failure (is_error), or an explicit inconclusive, never unverified success. kubernetes_control_test.go also carries a small in-flight fix from the parallel remediation-lock work (in-memory ActionAuditStore in the test helper) that these tests require to run on this tree.