You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bb...@apache.org on 2025/04/15 17:41:34 UTC

(airflow) branch main updated: Pass mapIndex to filter the relevant task instance while clearing mapped tasks. (#49307)

This is an automated email from the ASF dual-hosted git repository.

bbovenzi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new edb7c99e3a7 Pass mapIndex to filter the relevant task instance while clearing mapped tasks. (#49307)
edb7c99e3a7 is described below

commit edb7c99e3a783a2ec43b1fb48558b3bf3a3c3a33
Author: Karthikeyan Singaravelan <ti...@gmail.com>
AuthorDate: Tue Apr 15 23:11:28 2025 +0530

    Pass mapIndex to filter the relevant task instance while clearing mapped tasks. (#49307)
---
 .../ui/src/components/Clear/TaskInstance/ClearTaskInstanceDialog.tsx    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow-core/src/airflow/ui/src/components/Clear/TaskInstance/ClearTaskInstanceDialog.tsx b/airflow-core/src/airflow/ui/src/components/Clear/TaskInstance/ClearTaskInstanceDialog.tsx
index ca9f36283c4..53126f9e88e 100644
--- a/airflow-core/src/airflow/ui/src/components/Clear/TaskInstance/ClearTaskInstanceDialog.tsx
+++ b/airflow-core/src/airflow/ui/src/components/Clear/TaskInstance/ClearTaskInstanceDialog.tsx
@@ -77,7 +77,7 @@ const ClearTaskInstanceDialog = ({ onClose, open, taskInstance }: Props) => {
       include_past: past,
       include_upstream: upstream,
       only_failed: onlyFailed,
-      task_ids: [taskId],
+      task_ids: [[taskId, mapIndex]],
     },
   });