Repository navigation
Fix Cloud Composer system test external task sensors - #74786
Conversation
345ec1f to
3698ea7
Compare
e1d6b05 to
612adfc
Compare
612adfc to
3f89549
Compare
3f89549 to
388a183
Compare
|
@shahar1 May I kindly ask for the review? |
shahar1
left a comment
There was a problem hiding this comment.
The fix is right for runs that parse the Dag file again at task start, and execution_range stays out of the serialized Dag, so the Dag version is stable. In the default system test mode, though, the window still ends before the triggered run exists, so I'd like to know how the current head was run. Details and a suggested change are inline on lines 313 and 326.
This review was drafted by an AI-assisted tool and
confirmed by an Apache Airflow maintainer. The findings
below are observations, not blockers; an Apache Airflow
maintainer — a real person — will take the next look at the
PR. If you think a finding is mis-applied, please reply on
the PR and a maintainer will weigh in.More on how Apache Airflow handles maintainer review:
Contributing guide.
388a183 to
7ff331f
Compare
|
@shahar1 thank you for the review, I've changed the window dates range to recommended values. Re-run updated version, it works well too:
|
Revert the execution_range change from apache#72194: timedelta(days=1) is relative to the logical date, so the sensors never find the airflow_monitoring runs and wait until timeout. execution_range is not a template field, so datetime.now() does not change the Dag version. More context: apache#72194 (comment)
7ff331f to
c58a7cc
Compare


Revert the 'execution_range' change from #72194: timedelta(days=1) is relative to the logical date, so the sensors never find the airflow_monitoring runs and wait until timeout. 'execution_range' is not a template field, so datetime.now() does not change the dag version.
More context: #72194 (comment)
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.