roykoand opened a new issue, #61811: URL: https://github.com/apache/airflow/issues/61811
### 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: <img width="1512" height="539" alt="Image" src="https://github.com/user-attachments/assets/a78ea3b8-8a1f-49ab-91fb-77eedd2db400" /> I’m not a front-end expert, but after a quick look, I noticed the following logic: https://github.com/apache/airflow/blob/f2d4eef16cc43d68908fd67c6632d8b97d4c3e63/airflow-core/src/airflow/ui/src/components/Banner/BackfillBanner.tsx#L111 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 1. Start the backfill 2. Wait for its completion 3. Start the second backfill 4. 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? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
