Skip to content

Switch to triggered task at "graph" view after triggering dag #54189

@potiuk

Description

@potiuk

Apache Airflow version

main (development)

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

No response

What happened?

Disclaimer. I could not find similar issue - and maybe I missed it - so apologies if it is a duplicate.

I think it would be much more user friendly to switch to just submitted When you submit a Dag via "Trigger" and you have "graph view" selected, it does not look like you actually triggered a Dag - because the graph view does not show anything. It shows the previously selected dag run rathar than the one that you just triggered.

That is quite confusing and counterintuitive.

This how it looks like after you triggered a Dag and it failed:

Image

Only after selecting the run - you see the triggered dag run:

Selecting:

Image

Result:

Image

It would be much more user friendly if the Graph view switches to the triggered dag run automatically after triggering. That would be nice for all kinds of manually triggered workflows.

What you think should happen instead?

The graph view should start showing newly triggered dag run automatically after triggering.

How to reproduce

  • switch to graph view
  • trigger a Dag
  • observe the graph virew does not refresh nor show the progress of the triggered dag as it gets executed

Operating System

Linux, Mint 22

Versions of Apache Airflow Providers

Not relevant - pure UI thing.

Deployment

Other

Deployment details

Breeze.

Anything else?

When I started testing 3.0.4rc2 and accidentally did it this way (usually I am looking at grid view) - I thought it was a bug, but I checked it was the same in earlier 3.0.* versions. I found this behaviour quite confusing.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugkind: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