You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add an option to run backfill while keeping dag execution suspended #60768
As a maintainer
I would like to run backfill while suspending dag execution
In order to backfill without executing dag every day
In order to avoid useless computation and log
Use case/motivation
To perform a backfill, a dag must be triggered by cron and also it must be activated. In our case, we have a dag to reprocess old data, but we cannot run it dayly via cron because the data is not available.
So we want to run only backfill while keeping daily dag execution suspended to avoid useless computation.
Actually, we have an option Unpause XXXX on trigger. We could add a new option Run backfill and keep dag suspended to run only backfill
The implementation adds a new "Run backfill while keeping DAG paused" option that allows backfills to execute without unpausing the DAG. This prevents unnecessary daily executions when data isn't available, as requested.
Key features:
New keep_dag_paused parameter in the backfill model and API
Modified scheduler logic to allow backfill runs on paused DAGs when enabled
UI checkbox in the backfill form (disabled when "Unpause DAG" is selected)
Fully backward compatible (defaults to existing behavior)
Activity
Add support for running backfill while keeping DAG paused (fixes apac…
Add newsfragment for issue apache#60768
subhash-0000 commentedon Jan 20, 2026
I've created a PR to address this issue: #60818
The implementation adds a new "Run backfill while keeping DAG paused" option that allows backfills to execute without unpausing the DAG. This prevents unnecessary daily executions when data isn't available, as requested.
Key features:
keep_dag_pausedparameter in the backfill model and APIThe PR is ready for review!
pierrejeambrun commentedon Feb 6, 2026
@dstandish I'd love your input on this, wdyt?
Allow explicit runs to drain a paused Dag (#73763)