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


##########
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:
   Do we have a brief doc listing where we plan to hook all the listeners?
   
   i.e. I am assuming you would want some information from the worker and some 
from the scheduler. I think worth you drafting it up and what info is required, 
and we can collectively agree on that, and once agreed, it should become easier 
to implement and merge.



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