리플레이 저장

- stdout pipe를 통해 houston에 리플레이 upload 요청 기능 추가
This commit is contained in:
2025-01-09 16:21:29 +09:00
parent 3ab055008c
commit 5f68795185
6 changed files with 258 additions and 4 deletions

View File

@ -44,6 +44,14 @@ func lastExecutionArgs(verpath string) []string {
return out
}
func (hc *houstonClient) uploadToAppendFile(filePath string, name string, version string) {
hc.uploadChan <- uploadRequest{
filePath: filePath,
name: name,
version: version,
}
}
var errUploadZipLogFailed = errors.New("not ok")
func (hc *houstonClient) uploadZipLogFile(zipFile string, name string, version string) error {
@ -460,6 +468,8 @@ func (hc *houstonClient) launch(meta *procmeta) error {
}
continue
} else if ok, err := HandleHoustonPipeReq(hc, meta, buff); ok && err != nil {
logger.Println("HandleHoustonStdoutReq failed :", err)
}
logWriter(buff)