Apache Airflow version
3.1.7
If "Other Airflow 3 version" selected, which one?
No response
What happened?
If you execute multiple backfills for a single DAG, the "Backfill in progress" banner displays the wrong active backfill job. As shown in my screenshot, there are three backfills, and only the last one is active (it has no completed_at timestamp). However, the banner incorrectly shows the first backfill as active:

I’m not a front-end expert, but after a quick look, I noticed the following logic:
|
<Time datetime={data?.backfills[0]?.from_date} /> - <Time datetime={data?.backfills[0]?.to_date} /> |
It seems like it might simply fetch the first backfill for a specific Dag from the backfill table instead of filtering for active backfills.
Thank you!
What you think should happen instead?
Backfill in progress banner should show an active backfill job, not the first one in a list of previous backfills
How to reproduce
- Start the backfill
- Wait for its completion
- Start the second backfill
- Notice that it shows the wrong active backfill in a "Backfill in progress" banner
Operating System
Debian GNU/Linux
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
Apache Airflow version
3.1.7
If "Other Airflow 3 version" selected, which one?
No response
What happened?
If you execute multiple backfills for a single DAG, the "Backfill in progress" banner displays the wrong active backfill job. As shown in my screenshot, there are three backfills, and only the last one is active (it has no

completed_attimestamp). However, the banner incorrectly shows the first backfill as active:I’m not a front-end expert, but after a quick look, I noticed the following logic:
airflow/airflow-core/src/airflow/ui/src/components/Banner/BackfillBanner.tsx
Line 111 in f2d4eef
It seems like it might simply fetch the first backfill for a specific Dag from the
backfilltable instead of filtering for active backfills.Thank you!
What you think should happen instead?
Backfill in progress banner should show an active backfill job, not the first one in a list of previous backfills
How to reproduce
Operating System
Debian GNU/Linux
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct