Effective Cross-DAG dependency
summary
QuintoAndar runs Airflow on Composer with ~100 DAGs and ~2,500 daily executions and builds an intermediate Mediator DAG that reads a declared graph in dependency.yaml, writes expected execution dates to XCom, and uses a custom sensor and custom trigger to check DAG/task status in the metadata DB and fire dependents only when upstream succeeds. The Mediator removes direct DAG-to-DAG triggers, handles task-level dependencies, skips triggers on failures, and works for daily schedules today but lacks backfill and sparse-schedule support.
AI-written summary · about
