amoghrajesh commented on code in PR #77009:
URL: https://github.com/apache/airflow/pull/77009#discussion_r4703632179
##########
airflow-core/src/airflow/api_fastapi/core_api/datamodels/tasks.py:
##########
@@ -81,6 +81,7 @@ class TaskResponse(BaseModel):
params: abc.MutableMapping | None
class_ref: dict | None
is_mapped: bool | None
+ is_durable: bool
Review Comment:
@kaxil yeah, this ask came from #76833, so the banner would not have to hit
the task state store to find out whether a task is durable. But we made an
improvement pre-merge: the banner only fetches for the task instance whose logs
are open, from try 2 on, and the route is a one-row lookup that returns no
tries for a task that isn't durable. So honestly, nothing needs `is_durable`
now, and with the mapped-task guess being wrong in the cases you listed, i
think its worth closing this PR. If we later want the clear dialog to warn
about durable tasks, that can come back with the operators reporting their own
value.
--
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]