A task that hangs is worse than one that fails: nothing alerts, the slot stays busy, and the next run queues behind it. Set execution_timeout on tasks that call outside systems: @task(execution_timeout=timedelta(minutes=10)). When a try runs longer, Airflow stops it with AirflowTaskTimeout and the try counts as a failure, so retries apply.
dagrun_timeout on the Dag bounds a whole run: when it is exceeded the run is marked failed and its unfinished tasks are skipped. Use it when a run that is hours late is no longer useful.
Sensors have their own timeout, covered with sensors. Pick timeouts from real durations: a few times the normal run time, not a guess.
A hung export is stopped after ten minutes and tried once more.