Gust.DAG.Run.Trigger.Requeue (gust v0.1.26)

Resets tasks and runs, then re-queues them for execution.

Provides helpers to reset an entire run or a downstream branch of tasks, update run status to :enqueued, and broadcast the corresponding PubSub events. It also handles dispatching runs when the DAG is enabled.

Summary

Functions

dispatch_all_runs(dag_id)

Callback implementation for Gust.DAG.Run.Trigger.dispatch_all_runs/1.

dispatch_run(run)

Callback implementation for Gust.DAG.Run.Trigger.dispatch_run/1.

reset_run(run)

Callback implementation for Gust.DAG.Run.Trigger.reset_run/1.

reset_task(graph, task)

Callback implementation for Gust.DAG.Run.Trigger.reset_task/2.