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.
|
# Decrement try number so the next one is the same try |
|
self._try_number -= 1 |
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
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