fix: retryタスクのcompleted_atクリア漏れを修正

startReExecutionで失敗タスクをrunningに戻す際、
completed_atをnullにリセットしていなかったためZodバリデーションエラーが発生していた。
This commit is contained in:
nrslib 2026-02-20 07:40:59 +09:00
parent 4f8255d509
commit f479869d72

View File

@ -195,6 +195,7 @@ export class TaskLifecycleService {
...target, ...target,
status: 'running', status: 'running',
started_at: nowIso(), started_at: nowIso(),
completed_at: null,
owner_pid: process.pid, owner_pid: process.pid,
failure: undefined, failure: undefined,
start_movement: startMovement, start_movement: startMovement,