VladaZakharova commented on code in PR #54101:
URL: https://github.com/apache/airflow/pull/54101#discussion_r2285036115


##########
providers/google/src/airflow/providers/google/cloud/triggers/cloud_storage_transfer_service.py:
##########
@@ -87,13 +88,9 @@ async def run(self) -> AsyncIterator[TriggerEvent]:
 
                 for job, operation in zip(jobs, operations):
                     if operation is None:
-                        yield TriggerEvent(
-                            {
-                                "status": "error",
-                                "message": f"Transfer job {job.name} has no 
latest operation.",
-                            }
-                        )
-                        return
+                        self.log.info("Transfer job %s has no latest operation 
yet, waiting.", job.name)
+                        all_operations_found = False
+                        continue

Review Comment:
   sorry, missed this one :)
   you can also specify the timeout for the execution for the whole triggerer, 
like here:
   
https://github.com/apache/airflow/pull/54351/files#diff-3517d14c9c6053674ebb66c09ff57a3a79470c30cf656116f0101b7afab04c03R201
   
   in this case trigger by himself will check the timeout value and die after 
deadline



-- 
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]

Reply via email to