Files
dagu/internal/dispatch
Yota Hamada 3d7bf2a282 Fix lost dispatches and remote child exit codes (#3461)
The dispatch store deleted a task left unclaimed for the reservation
TTL, but the scheduler had already dequeued the run and a dag.run
parent waits on its child, so a run dispatched while its workers were
busy or just stopped stayed queued, or its child not started, forever.
A pending task now waits until a worker claims it; the coordinator
drops it only once its run no longer awaits it.

A dag.run child that failed on a worker returned no error, so the
parent step recorded exit code 0. The remote runner now returns the
child's last failed step error, as the in-process runner does.

Fixes #3033
2026-11-01 01:48:37 +09:00
..