refactor(uploads): the worker's own failure is FailRunning

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 08:53:43 +02:00
co-authored by Claude Sonnet 5.5
parent 5f279d7e71
commit c6319b9bc6
+1 -1
View File
@@ -219,7 +219,7 @@ func (w *Worker) Process(ctx context.Context, job Job) {
// a failure: the row is left for the start-up sweep, so the step stays as it was.
abort := func() {
if ctx.Err() == nil {
tr.Fail()
tr.FailRunning()
}
w.fail(ctx, job, log)
}