ashb commented on code in PR #45106:
URL: https://github.com/apache/airflow/pull/45106#discussion_r1896057087


##########
airflow/api_fastapi/execution_api/routes/task_instances.py:
##########
@@ -359,3 +364,23 @@ def ti_put_rtif(
     _update_rtif(task_instance, put_rtif_payload, session)
 
     return {"message": "Rendered task instance fields successfully set"}
+
+
+def _is_eligible_to_retry(task_instance: TI, task_retries: int | None):

Review Comment:
   Why do we do this though? That's what I don't get? With the advent of DAG 
versioning I don't think we can really get in the state where we can't find a 
task for a TI. And if we do: lets just error, if we can't find it then we can't 
re-run it really anyway.



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