Skip to content

Airflow 3 select many runs and collectively remove failed tasks #52439

Closed

Description

@JWDobken

Description

This was a useful feature in Airflow 2:

  • From the runs page of a DAG, eg https://myairflow/dags/<DAG-ID>/runs?state=failed
  • See the number of failed runs
  • select all of them
  • collectively clear the failed tasks

Use case/motivation

I have many runs that failed and with some code change I only want to run the failed tasks. Currently I cannot easily see how many failed runs there are and to clear I have to go one-by-one

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    area:UIRelated to UI/UX. For Frontend Developers.
    on Jun 29, 2025
  2. Veldhoen commented on Jun 30, 2025

    @Veldhoen

    I support this, really miss this feature in Airflow 3 (both for (failed) dag runs and task instances, but primarily for dag runs.)

  3. eladkal commented on Jul 21, 2025

    @eladkal
    Contributor
  4. pierrejeambrun commented on Jul 22, 2025

    @pierrejeambrun
    Member

    Thanks for reporting, indeed that would be nice!

    Adding good first issue + 3.1.0 target in hope that someone from the community can work on this. That would be a great addition to the next minor release. (If not I'll try to do it but considering other priorities I'm not sure I can get to it in time for 3.1.0)

  5. rafagsiqueira commented on Jul 25, 2025

    @rafagsiqueira
    Contributor

    Really miss this too. We also have cases where we want to clear all successful runs of a certain dag, because we want it reran retroactively for all time periods.

  6. abdalhalimalzohbi commented on Aug 5, 2025

    @abdalhalimalzohbi

    Hi @pierrejeambrun I'm interested in giving this a try, could you please assign it to me?

  7. sandman-92 commented on Aug 6, 2025

    @sandman-92

    I would also love to see this feature, in a workflow with 1000+ tasks, being able to clear runs and tasks in batches would be incredibly useful.

  8. pierrejeambrun commented on Aug 6, 2025

    @pierrejeambrun
    Member

    @abdalhalimalzohbi, you're assigned!

  9. 11 remaining items

  10. potiuk commented on Mar 2, 2026

    @potiuk
    Member

    @Pei-Cheng-Yu We are unassigning you from this issue as part of our updated assignment policy.

    This is not meant to discourage your contribution — quite the opposite! You are still very welcome to work on this issue and submit a PR for it. Simply comment that you are working on it and open a PR when ready.

    We found that formal assignments were not working well, as they often prevented others from contributing when the assignee was not actively working on the issue.

  11. Pei-Cheng-Yu commented on Mar 3, 2026

    @Pei-Cheng-Yu
    Contributor

    Thanks for the update! I’m still actively working on this issue

  12. ZhaoMJ commented on Apr 3, 2026

    @ZhaoMJ
    Contributor

    @Pei-Cheng-Yu Thank you for working on this. I can see that your PRs are for bulk delete only. Would it be possible to add back other bulk operations available in Airflow 2 such as "clear" and "mark as success/failed" to the dagrun and task instance views as well? I believe this issue was also originally asking for "clearing" the failed dagruns, despite the title.

  13. added 7 commits that reference this issue on May 18, 2026
    5277088
    e19b095
    3aa950d
    8503052
    70e1837
    a5d36fe
    9dfb1bb
  14. added a commit that references this issue on May 21, 2026
    9288949
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions