feat(server): add pending step-result registry and stream delivery

This commit is contained in:
2026-07-20 11:26:35 +01:00
parent 3c77c20de8
commit 1b286762f6
2 changed files with 52 additions and 0 deletions
+3
View File
@@ -129,6 +129,9 @@ func (s *vantageServer) CommandStream(stream pb.Vantage_CommandStreamServer) err
r := m.Result
log.Printf("agent %s cmd %s: success=%v %s", srv.ServerID, r.CommandId, r.Success, r.Message)
}
if m.StepResult != nil {
services.StepResults.Deliver(m.StepResult)
}
}
}()