Skip to main content
Advancedcomparison

A cleanup task must run whether the pipeline succeeded or failed, but not if the upstream was skipped. Which trigger rule?

Source: Airflow: core concepts (DAGs, tasks, operators)

Quick answerFree

none_skipped: the task runs when no upstream task was skipped, whatever succeeded or failed. all_done would also run after skipped upstreams.

Detailed answer· 47 words

Interview Prep

Unlock the full answer with Interview Prep

Get a 47-word model answer, 3 key points and a visual explainer, plus 13 more Apache Airflow questions.

Also in Pro (₹499 / 90 days).

Key points· 3 points

Interview Prep
Unlock with Interview Prep

Visual explainer· animated, step by step

Interview Prep
Unlock with Interview Prep

+ 13 more Apache Airflow questions in Interview Prep, each with the full answer.

Discussion