Direct answer: Airflow models a workflow as a directed acyclic graph: tasks with declared dependencies, retry policies, and a recorded history. Execution order is derived from the graph, failures retry under written policy, and past runs can be replayed. The same pattern now runs in CI, ML pipelines, and agent frameworks.

A data job that runs at 2 a.m. and sometimes fails needs more than a timer. It needs to know which steps must finish first, what to do when one breaks, and what actually happened last Tuesday. Airflow, Apache's workflow scheduler, is one long answer to those three questions.

The trending query apache/airflow is sitting high on GitHub Trending for Python in late November 2026, and the repository (github.com/apache/airflow) rewards a read even from people who never touch a data warehouse. Pipelines are the visible subject; the durable idea is orchestration, with dependencies, retries, and histories kept as first-class records.

The graph is the program

Airflow models workflows as directed acyclic graphs. Each task declares which upstream tasks must finish first, and the scheduler derives execution order from those declarations. Nobody hardcodes a sequence; the shape of the data flow is the sequence.

Acyclic is the load-bearing word. Dependencies point one way and never loop, so a valid order always exists and progress always happens. A cycle is rejected outright, because a task that waits on itself has no legal first move.

extractvalidatetransform Atransform Bretries and alerts set per taskloadorder derived

Failure policy is part of the definition

Retry and alerting policy attaches to each task: how many attempts, how long to wait between them, and who gets told when attempts run out. A fragile script becomes an operable pipeline once those answers are written beside the task, where every reader can see them.

Every run is also recorded: which tasks ran, how long each took, and which attempt finally succeeded. That record turns a 2 a.m. failure from an archaeology project into a lookup, and it is what makes the difference between a pipeline and a pile of scripts visible on a dashboard.

ConcernCron jobAirflow DAG
OrderingEncoded inside one scriptDerived from declared dependencies
FailureExit code, often silencePer-task retries and alerts
HistoryLog filesPer-run, per-task records
Replaying a past dateManual rebuildBuilt-in backfill
missedyour Brain mapquiz yourselfmasteredWatch your weak spots turn green.

Drop in your PDF - it doesn't leave your device.
Every miss becomes a red node on your map.
Free plan: 21 nodes, no card, no countdown.

Open Brain - free

Backfills are the feature people stay for

Backfills are Airflow's signature move. Schedules and data versions are explicit, so you can re-run last Tuesday's pipeline with the same code and process Tuesday's inputs under today's fixed logic. Repair the bug, replay the window, and the gap in the warehouse closes.

The capability depends on everything upstream being declared: the schedule, the dependencies, the parameters. A cron job cannot replay a date range because it never knew what a date range was, while the graph model makes history replayable.

The pattern escaped data engineering

The same DAG pattern now runs in CI systems, ML pipelines, and agent frameworks. Workflow files, training graphs, and multi-step tool-using agents all declare tasks with dependencies and let a scheduler walk the graph. Learning the model once transfers to every one of them.

The transfer shows up in the vocabulary: step, needs, depends_on, upstream. Whatever the tool calls it, the question is identical, which tasks wait on which, and the graph answers it the same way everywhere.

Key takeaways

  • Airflow models workflows as directed acyclic graphs, and execution order is derived from declared dependencies.
  • Retry counts, wait times, and alert targets are written per task, which turns fragile scripts into operable pipelines.
  • Every run leaves per-task records, so failures become lookups instead of archaeology.
  • Backfills re-run a past schedule window with the same code, which cron cannot do.
  • The DAG pattern now runs in CI, ML pipelines, and agent frameworks, so it transfers widely.

Quick answers

What is a DAG?
A directed acyclic graph: tasks with one-way dependencies and no cycles, so a valid execution order always exists.

Why is it a step beyond cron?
Cron fires at times and knows nothing about dependencies, retries, or per-run history.

What happens when a task fails?
Its policy runs: the configured number of attempts with waits, then alerting to whoever is set to receive it.

What is a backfill?
A re-run of a past schedule window with the same code, used after fixing a bug or adding a source.

Is Airflow only for data teams?
The vocabulary is data-flavored, and the graph model has already spread into CI, ML, and agent tooling.

One thing to do tonight

Draw the next automated thing you maintain as a box-and-arrow graph on paper: one box per task, an arrow for each dependency, and a retry count on every box. Any box without a clear retry answer is the one to fix first.