Skip to content

UI: Add option to clear/mark all mapped task instances #63857

Closed
haseebmalik18 wants to merge 9 commits intoapache:mainfrom
haseebmalik18:ui-clear-all-mapped-ti
Closed

UI: Add option to clear/mark all mapped task instances #63857
haseebmalik18 wants to merge 9 commits intoapache:mainfrom
haseebmalik18:ui-clear-all-mapped-ti

Conversation

@haseebmalik18
Copy link
Copy Markdown
Contributor

@haseebmalik18 haseebmalik18 commented Mar 17, 2026

When viewing a mapped task instance, the clear and mark as dialogs now show checkboxes to apply the action to all mapped task instances. When checked, the requests send just the task_id without map_index, which the backend already supports to target all map indices of a mapped task.

closes: #60460

@choo121600
Copy link
Copy Markdown
Member

another flaky parts🥲

@haseebmalik18 haseebmalik18 changed the title UI: Add option to clear all mapped task instances #60460 UI: Add option to clear/mark all mapped task instances Mar 23, 2026
@eladkal eladkal added this to the Airflow 3.2.0 milestone Mar 24, 2026
@jscheffl
Copy link
Copy Markdown
Contributor

I actually was looking for the buttons - UI changes are always cool if they have a screenshot, perfect if "before" + "after". But an after at least would be cool to see "where" on the UI the change is.

@haseebmalik18 haseebmalik18 force-pushed the ui-clear-all-mapped-ti branch from 8d0887e to 028b6a2 Compare March 25, 2026 01:55
@haseebmalik18
Copy link
Copy Markdown
Contributor Author

Before changes:

Screenshot 2026-03-24 at 9 32 43 PM Screenshot 2026-03-24 at 9 52 23 PM

After changes:

Screenshot 2026-03-24 at 9 47 55 PM Screenshot 2026-03-24 at 9 41 59 PM

@jscheffl
Copy link
Copy Markdown
Contributor

Before changes:

After changes:

Okay, now I see where it goes.

I think actually the case is often also that a selective set, e.g. all failed tasks of a mapped task must be restarted. So I think the proposal by @shubhamraj-git is a bit more fitting to purpose, see #64141 - WDYT?

@haseebmalik18
Copy link
Copy Markdown
Contributor Author

Ah, I misunderstood. Yes, I agree #64141 is more fitting for this. I can close this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:translations area:UI Related to UI/UX. For Frontend Developers. translation:default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI - Clear all mapped index for a mapped TI

4 participants