mobuchowski commented on code in PR #45294:
URL: https://github.com/apache/airflow/pull/45294#discussion_r1927120490


##########
airflow/api_fastapi/execution_api/datamodels/taskinstance.py:
##########
@@ -191,6 +192,9 @@ class TIRunContext(BaseModel):
     dag_run: DagRun
     """DAG run information for the task instance."""
 
+    task_reschedule_count: Annotated[int, Field(default=0)]
+    """How many times the task has been rescheduled."""

Review Comment:
   Added tests that check if overtime mechanism works.
   
   Also, have the similar doc here: 
https://docs.google.com/document/d/1Vu1g6Xe0m-QVUZd6uWJ9StqaVF_aXR_Li8p71bZBbow/edit?tab=t.0



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to