Skip to content

Task Instances not correctly displayed in task group header in grid view #55319

@jscheffl

Description

@jscheffl

Apache Airflow version

main (development)

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

No response

What happened?

If I take a look to a task group the header is showing the task summaries of states, but I see actually two "bugs":

  1. The task instance summary shows the Dag defined task counts as "count"/total but is a mapped task is in the task group the mapping is not respected. For example the run here mapped 40 tasks but only "3" are shown as success:
Image

Mapped task details:

Image
  1. Also taking a closer look to ^^^ it is showing the total of "3" tasks (and not 42) but the task isnatnce list shows no results (translated: "Kein Element vom Typ Task Instanzen gefunden")
Image

What you think should happen instead?

  1. The task count should show the number of task instances in the run including any mapped total and not only the "abstract" task count from Dag structure.
  2. The lower part of the details panel should list all tasks in the task group

How to reproduce

Start current main from breeze and run the "integration_test.py" Dag from Edge, set any number of task mapping on trigger and inspect the task group of the mapped task in grid view

Operating System

Linux

Versions of Apache Airflow Providers

No response

Deployment

Other

Deployment details

Breeze

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions