You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Airflow 3.0.x : Bring back from Airflow 2.x "Status of all previous DAG runs" column in DAGS main page #50624
Have you seen the status bars on the dag list? For example:
Not sure you have the quick nav to only the failures that way, but you do have the visual of which had problems (plus, its recent, not "since the beginning of time").
edit: Oh, and I just noticed there is a "failed" filter at the top!
The failed filter at the top it's a global filter on DAGS, it is very useful but it does not guide you to the list of the errors in that specific DAG.
The new "status bars" are very cool and useful but they do not count (how many errors happened to that DAG) and do not guide you to the list of the errors in that specific DAG.
One of my use case is to launch backup every night (hundreds of launchs), and at the next morning the operators assess what went wrong.
They click on the "old red circle" see at the error and if it was a shutdown PC they simply relaunch the backup, if it was a bad block discovered they call the user in order to change the disk, and so on.
So the red circle is for me the amount of task we need to assolve every morning.
We removed the status of all dag runs or task instances because if you run Airflow for long enough it becomes noise. But the current bar chart is limited to the last 14, which depending on a dag, doesn't capture enough for the daily activity. I am open to iterating on the design to give more useful information like a "Last 24 hours" summary of a dag
I'm not in favor of adding more conf options for the UI. Ideally the UI should solve this problem by its own with an appropriate user interface, allowing to do what's needed to solve this use case. (define a column order or any other solution).
The main reason is that I wouldn't want to see a multiplicity of such params web_ui_dags_pageweb_ui_ti_pageweb_ui_asset_page and so on.
Maybe what we want is a way to filter failed task instances, over a temporal window + state + list of dag ids ?
For instance this would allow you to find all the failed tasks for your given dags over the last 24 hours. We can also imagine a more complexe filtering options for the dag list.
Yes, I would like to explore improving the UI and filtering functionality before adding new UI config. But something like "List all dags with activity in the last 24 hours" we could then show useful more useful information in the card list than today
Throwing my input on to this as I logged the related above request. Personally, I really liked the Recent Tasks status circles as they would give quick, at-a-glance run down of what the current state is. The dynamic nature of them conveys a sense of activity which I seems a bit lacking in v3. Also, because these only showed the status from the last active DagRun, I don't believe that this is noise.
@uranusjr At the very least, I would like to see Task State indicators for the most recent DagRun as part of 3.1.0 but I don't know if anyone is actually planning to do this.
What is mentioned by @nathadfield isn't planned at the moment but most likely not very hard to implement and could be a nice addition (TI summaries at the DAG list level for the most recent dag run, or last 14 runs which are those shown in the 'card')
I am not aware of anybody working on this at the moment, I have added the good first issue label to bring attention to it.
I believe that with the recent addition to the grid endpoints we can retrieve that TI summaries information for a single dagrun and use it directly in the UI, we probably don't need any backend development.
It'd be happy to review a PR that adds this.
That would be great to have it for 3.1.0. On the other hand we are actively working on adding more filters to the DagRun, Dag, Task Instance, etc... tables for 3.1.0. With those, you should be able to work your way around that missing feature by hitting the TaskInstance table and applying your 'date range' + 'status' + 'dag ids' filters to achieve something similar.
What information are you interested in with that TI summary at a DAG level? I'm asking this because depending on your use case I can think of a few reasons why this could be useful directly on the Dashboard (home) page, like monitoring metrics for your cluster. (Maybe something like 'Dags that need your attention', stuck dags, failing dags, or anything other useful information)
Activity
jedcunningham commentedon May 14, 2025
Have you seen the status bars on the dag list? For example:
Not sure you have the quick nav to only the failures that way, but you do have the visual of which had problems (plus, its recent, not "since the beginning of time").
edit: Oh, and I just noticed there is a "failed" filter at the top!
gbonazzoli commentedon May 15, 2025
The failed filter at the top it's a global filter on DAGS, it is very useful but it does not guide you to the list of the errors in that specific DAG.
The new "status bars" are very cool and useful but they do not count (how many errors happened to that DAG) and do not guide you to the list of the errors in that specific DAG.
One of my use case is to launch backup every night (hundreds of launchs), and at the next morning the operators assess what went wrong.
They click on the "old red circle" see at the error and if it was a shutdown PC they simply relaunch the backup, if it was a bad block discovered they call the user in order to change the disk, and so on.
So the red circle is for me the amount of task we need to assolve every morning.
like this:
This morning, nothing to do !!!
tirkarthi commentedon May 15, 2025
cc: @bbovenzi @pierrejeambrun
bbovenzi commentedon May 15, 2025
We removed the status of all dag runs or task instances because if you run Airflow for long enough it becomes noise. But the current bar chart is limited to the last 14, which depending on a dag, doesn't capture enough for the daily activity. I am open to iterating on the design to give more useful information like a "Last 24 hours" summary of a dag
gbonazzoli commentedon May 17, 2025
@bbovenzi
I agree with you, sometimes the information carried by the coloured circles is irrelevant, but sometimes it is not.
What about having a configuration directive in
airflow.cfgto make parametric the order in which to display the blocks on the web UI ?Something like:
web_ui_dags_page = "#Dag #Schedule #DAG_Runs_Status #Next_Dag_Run #Last_Dag_Run #Tags"pierrejeambrun commentedon May 19, 2025
I'm not in favor of adding more conf options for the UI. Ideally the UI should solve this problem by its own with an appropriate user interface, allowing to do what's needed to solve this use case. (define a column order or any other solution).
The main reason is that I wouldn't want to see a multiplicity of such params
web_ui_dags_pageweb_ui_ti_pageweb_ui_asset_pageand so on.pierrejeambrun commentedon May 19, 2025
Maybe what we want is a way to filter failed task instances, over a temporal window + state + list of dag ids ?
For instance this would allow you to find all the failed tasks for your given dags over the last 24 hours. We can also imagine a more complexe filtering options for the dag list.
bbovenzi commentedon May 19, 2025
Yes, I would like to explore improving the UI and filtering functionality before adding new UI config. But something like "List all dags with activity in the last 24 hours" we could then show useful more useful information in the card list than today
gbonazzoli commentedon May 19, 2025
Time range filtering of dags is a great idea !
And with this filtering active, the numbers calculated on "Status of filtered DAG runs" is not noisy anymore !
in my opinion with such a filter in place it will better the user experience in comparison to Airflow 2!
If I can suggest, time range filter in Grafana is something to take inspiration at:
nathadfield commentedon Jun 12, 2025
Throwing my input on to this as I logged the related above request. Personally, I really liked the
Recent Tasksstatus circles as they would give quick, at-a-glance run down of what the current state is. The dynamic nature of them conveys a sense of activity which I seems a bit lacking in v3. Also, because these only showed the status from the last active DagRun, I don't believe that this is noise.7 remaining items
pierrejeambrun commentedon Jul 18, 2025
I think that allowing more advanced filtering options on TaskInstance table (start_date, end_date, dag_ids, run_ids, etc...) will fill that void.
uranusjr commentedon Aug 13, 2025
What should we do here? Is it still on track for the 3.1.0 timeline, or should it be scheduled for a later release?
nathadfield commentedon Aug 13, 2025
@uranusjr At the very least, I would like to see Task State indicators for the most recent DagRun as part of 3.1.0 but I don't know if anyone is actually planning to do this.
pierrejeambrun commentedon Aug 18, 2025
What is mentioned by @nathadfield isn't planned at the moment but most likely not very hard to implement and could be a nice addition (TI summaries at the DAG list level for the most recent dag run, or last 14 runs which are those shown in the 'card')
I am not aware of anybody working on this at the moment, I have added the
good first issuelabel to bring attention to it.I believe that with the recent addition to the grid endpoints we can retrieve that TI summaries information for a single dagrun and use it directly in the UI, we probably don't need any backend development.
It'd be happy to review a PR that adds this.
That would be great to have it for 3.1.0. On the other hand we are actively working on adding more filters to the DagRun, Dag, Task Instance, etc... tables for 3.1.0. With those, you should be able to work your way around that missing feature by hitting the TaskInstance table and applying your 'date range' + 'status' + 'dag ids' filters to achieve something similar.
What information are you interested in with that TI summary at a DAG level? I'm asking this because depending on your use case I can think of a few reasons why this could be useful directly on the Dashboard (home) page, like monitoring metrics for your cluster. (Maybe something like 'Dags that need your attention', stuck dags, failing dags, or anything other useful information)
Saadmadni84 commentedon Jan 4, 2026
Hi @pierrejeambrun, I’d like to work on this issue and propose a PR for the TI summaries at the DAG list level. Please let me know if that’s okay.
tirkarthi commentedon Jul 9, 2026
With #67242 merged I feel this can be closed.
Solution for apache#50624: Airflow 3.0.x : Bring back from Airflow 2.…
Solution for apache#50624: Airflow 3.0.x : Bring back from Airflow 2.…
pierrejeambrun commentedon Jul 9, 2026
You are right @tirkarthi thanks.