feat(server): stream step logs to files, drop log bodies from run docs

This commit is contained in:
2026-07-20 15:18:35 +01:00
parent 85e1baf59a
commit d905c99d32
3 changed files with 36 additions and 15 deletions
+7
View File
@@ -132,6 +132,13 @@ func (s *vantageServer) CommandStream(stream pb.Vantage_CommandStreamServer) err
if m.StepResult != nil {
services.StepResults.Deliver(m.StepResult)
}
if m.StepOutput != nil {
if m.StepOutput.Eof {
services.StepLogs.Close(m.StepOutput.CommandId)
} else {
services.StepLogs.Append(m.StepOutput.CommandId, m.StepOutput.Data)
}
}
}
}()