You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
After triggering a sub-DAG, GDILoopSubDagController.wait_until_end() only treats success and running as non-failure states. Airflow DagRuns can legitimately be queued, scheduled, or briefly not visible immediately after trigger_dag(). The current polling loop raises AirflowFailException for these healthy transient states.
Reproduction
Unit-test wait_until_end() with get_dag_run_state() returning State.QUEUED and then State.SUCCESS.
Expected result
Queued/scheduled/non-visible transient states should be polled until they become running/success/failure, instead of being treated as immediate failures.
Activity