mirror of
https://github.com/dagucloud/dagu.git
synced 2026-12-05 05:32:51 +00:00
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