Skip to content

All dagruns are listed to be cleared while clearing a specific dagrun (Intermittent issue) #47450

@atul-astronomer

Description

@atul-astronomer

Apache Airflow version

3.0.0b1

If "Other Airflow 2 version" selected, which one?

No response

What happened?

Lets say, for a DAG, many dagruns are available and user wants to clear a specific dagrun. When user selects a
dagrun and click on 'Clear Run' button, all dagruns tasks are listed to be cleared and if user clicks on confirm button then all the dagruns are cleared.

Image
Screen.Recording.2025-03-06.at.7.20.18.PM.mov

What you think should happen instead?

Only tasks specific to a dagrun should be listed to be cleared when clearing a dagrun.

How to reproduce

On AF3 UI:

  1. Create multiple dagruns for a DAG.
  2. Select a dagrun and try to clear the dagrun.
  3. Notice tasks listed on the clear dagrun model has all dagruns tasks.

Operating System

Linux

Versions of Apache Airflow Providers

No response

Deployment

Other

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Labels

area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugpriority:highHigh priority bug that should be patched quickly but does not require immediate new release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions