The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/cloud-composer-dagrun-sensor-57512 has succeeded.
Run started by GitHub user Vamsi-klu (triggered by Vamsi-klu).

Head commit for run:
2e26717d37bf86b296e23eb6ae7507205323b4e6 / Vamsi-klu <[email protected]>
Fix CloudComposerDAGRunSensor returning success when no runs in window

The _check_dag_runs_states helper returned True when no Dag runs
existed inside execution_range because it only checked for bad states
inside window and defaulted to True. This caused silent downstream
execution with missing data.

Introduce found_runs_in_window flag, return it instead of True.
Apply same fix to ExternalTask sensor/trigger duplicates (4 locations total).
This is a re-attempt of #61046 which was reverted in #61346 due to system
test regression - this version fixes all 4 duplicated methods consistently,
matching the ExternalTaskSensor pattern already used in Airflow.

Fixes: #57512

Report URL: https://github.com/apache/airflow/actions/runs/29146208069

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to