Airflow & DAGs · Testing & Troubleshooting

What is depends_on_past?

Mediumdepends-on-pastscheduling

Interview question

What is depends_on_past?

How to answer

The short answer

It means a task depends on the previous scheduled instance of the same task succeeding.

If Monday failed, Tuesday may wait or not run as expected, depending on configuration. Useful for strictly sequential daily processing. Don't turn it on blindly.