kaxil commented on code in PR #45294:
URL: https://github.com/apache/airflow/pull/45294#discussion_r1923135933
##########
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:
We also have `TASK_OVERTIME_THRESHOLD` in the Supervisor process, so
wherever we hook the listeners, lets verify that it uses it so we don't have
tasks "stuck" issue.
https://github.com/apache/airflow/blob/41b151e7dde473ec445f9f78fb4b8db826c368fc/task_sdk/src/airflow/sdk/execution_time/supervisor.py#L573-L576
--
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]