Keep run logs opaque and streamline transfers

This commit is contained in:
npc0-hue
2026-09-03 16:40:05 +08:00
parent 48dd540253
commit 330b1c0130
27 changed files with 429 additions and 673 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ func (worker *Worker) uploadFileArtifact(ctx context.Context, assignment protoco
if read != length {
return fmt.Errorf("file artifact chunk is shorter than expected")
}
chunk := append([]byte(nil), buffer[:length]...)
chunk := buffer[:length]
state, err := worker.registeredState()
if err != nil {
return err