bbovenzi commented on code in PR #73030:
URL: https://github.com/apache/airflow/pull/73030#discussion_r4048749285
##########
airflow-core/src/airflow/api_fastapi/core_api/datamodels/task_instances.py:
##########
@@ -89,6 +89,7 @@ class TaskInstanceResponse(BaseModel):
queued_by_job: JobResponse | None = Field(alias="triggerer_job")
dag_version: DagVersionResponse | None
team_name: str | None = None
+ retry_reason: str | None = None
Review Comment:
If we are worried about locking in the name, we could expose this only on
the /ui API but we haven't done any other custom endpoints for task instances
yet.
"State reason" isn't bad though! I think theres been talk of something along
those lines for a while. Then we could reuse this in the future and it could be
a retry reason if the task has multiple tries.
--
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]