Latest log not shown in grid view for deferred task #27955
Labels
affected_version:2.4
Issues Reported for 2.4
area:core
area:UI
Related to UI/UX. For Frontend Developers.
kind:bug
This is a clearly a bug
Apache Airflow version
2.4.3
What happened
In the grid view I do not see the logs for the latest try number if the task is in deferred state. I do see it in the "old" log view.
Grid view:

"Old" view:

It could have something to do with the deferred task getting its try_number reduced by 1 - in my example try_number=1 and next_try_number=2.
airflow/airflow/models/taskinstance.py
Lines 1617 to 1618 in 3e288ab
What you think should happen instead
No response
How to reproduce
No response
Operating System
Red Hat
Versions of Apache Airflow Providers
No response
Deployment
Virtualenv installation
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: