Skip to content

Missing TI previous tries in Logs UI after upgrading to Airflow 2.10.1+ #43739

@ahidalgob

Description

@ahidalgob

Apache Airflow version

2.10.2

If "Other Airflow 2 version" selected, which one?

No response

What happened?

After #41483 we miss displaying buttons to see logs for previous tries that don't have TIHistory (because, for example, they ran in an older Airflow version).

image

Clicking see more on the right takes you to the other logs UI in which all tries are displayed correctly.

image

What you think should happen instead?

In case there are no TIHistory objects and there were more than 1 try, we should create buttons to see previous tries logs.

How to reproduce

Create multiple tries for a TI using an older version of Airflow (<2.10.0), and upgrade to Airflow 2.10.1 or higher.

Operating System

linux

Versions of Apache Airflow Providers

No response

Deployment

Other Docker-based deployment

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions