dimberman commented on code in PR #43520:
URL: https://github.com/apache/airflow/pull/43520#discussion_r1826114221


##########
providers/src/airflow/providers/celery/executors/celery_executor.py:
##########
@@ -450,7 +450,6 @@ def cleanup_stuck_queued_tasks(self, tis: 
list[TaskInstance]) -> list[str]:
         for ti in tis:
             readable_tis.append(repr(ti))
             task_instance_key = ti.key
-            self.fail(task_instance_key, None)

Review Comment:
   @jedcunningham can you explain a bit further? Is there a workaround we can 
consider? The reason we did this is because the idea of failing the task and 
then setting it to scheduled after felt fraught with potential bugs



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