Lee-W commented on code in PR #74450: URL: https://github.com/apache/airflow/pull/74450#discussion_r4227222676
########## providers/common/ai/src/airflow/providers/common/ai/mixins/hitl_review.py: ########## @@ -35,6 +35,9 @@ log = logging.getLogger(__name__) +# ``hitl_timeout`` may be ``None``, so a persistently failing poll would otherwise loop forever. +_MAX_CONSECUTIVE_XCOM_PULL_FAILURES = 10 Review Comment: Updated the `HITLReviewMixin` docstring, the `run_hitl_review` `:raises:`, `hitl_review.rst`, and the `AgentOperator` `hitl_timeout` param docs: `hitl_timeout=None` means no wall-clock timeout, but the loop still ends after `_MAX_CONSECUTIVE_XCOM_PULL_FAILURES` consecutive pull failures. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
