sunank200 commented on code in PR #50922:
URL: https://github.com/apache/airflow/pull/50922#discussion_r2101960741
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/ui/grid.py:
##########
@@ -191,6 +191,8 @@ def grid_data(
task_node_map_exclude and ti.task_id not in
task_node_map_exclude
) or ti.state == TaskInstanceState.REMOVED:
continue
+ if ti.task_id not in task_node_map:
+ continue
Review Comment:
Initially, I tested it by deleting the dag_version record, which caused the
API to fail. Now, I believe that this action is not necessary since it is a
soft delete.
--
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]