Skip to content

Add Confirmation Pop-up to Prevent Multiple Reruns of Failed Tasks #54379

@jisundr

Description

@jisundr

Description

Currently, in the Airflow UI, users can re-run failed tasks multiple times when multiple users act on the same task simultaneously. This behavior may lead to duplicate runs, unnecessary load on the system, and confusion in monitoring task progress.

We'd like to add a confirmation pop-up before re-running failed tasks. The pop-up should:

  • Prompt users to confirm before initiating the rerun.
  • Optionally re-check the latest task state to ensure it is still failed before execution.
  • Prevent multiple rerun submissions within a short time window.

We currently have a UI-level workaround that adds a confirmation pop-up; however, we are still seeking community input on how others handle this scenario, especially in multi-user environments.

Proposed UI Implementation (Screen Recording)
Here’s a sample of how this could look in the Airflow UI:

Screen.Recording.2025-07-09.at.3.45.04.PM.mov

Use case/motivation

In our environment, we encountered a situation where two users attempted to rerun the same failed task simultaneously. Due to UI latency, both reruns were processed, resulting in duplicate executions.

Adding a confirmation step would:

  • Reduce accidental multiple task executions.
  • Improve clarity and intentionality in user actions.
  • Minimize unnecessary resource usage and avoid confusion in collaborative workflows.

Related issues

  • AFAIK, no existing issue has been raised for this feature on the official Apache Airflow GitHub repository.
  • This would likely be a new enhancement request, and our contribution may be the first implementation proposal.

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:UIRelated to UI/UX. For Frontend Developers.kind:featureFeature Requestsneeds-triagelabel for new issues that we didn't triage yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions