Skip to content

Conversation

@MaksYermak
Copy link
Contributor

In this PR I have improved functionality for the CloudComposerDAGRunSensor sensor. I added a check for empty dag_runs to prevent Sensor stops while it's waiting for DAG and, also, added a timeout for deferrable mode.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Aug 11, 2025
@MaksYermak MaksYermak force-pushed the fix-cloud-composer-dag-run-sensor branch from f7380fb to f99caa0 Compare August 11, 2025 14:13
@eladkal
Copy link
Contributor

eladkal commented Aug 11, 2025

Bugfix PRs normally requires unit tests to avoid regression of the bug

Copy link
Contributor

@shahar1 shahar1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add unit tests?

@MaksYermak MaksYermak force-pushed the fix-cloud-composer-dag-run-sensor branch from f99caa0 to 02288ae Compare August 21, 2025 15:04
@MaksYermak
Copy link
Contributor Author

Could you please add unit tests?

@eladkal @shahar1 sure, I have added a unit test

@shahar1 shahar1 merged commit 10d3091 into apache:main Aug 21, 2025
75 checks passed
mangal-vairalkar pushed a commit to mangal-vairalkar/airflow that referenced this pull request Aug 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants