Skip to content

Latest run info is missing on card/list view when run is triggered manually #46747

@atul-astronomer

Description

@atul-astronomer

Apache Airflow version

3.0.0a3

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

No response

What happened?

When user trigger a DAG manually, the latest run details are not displayed on card/list view.

Manual Trigger:

Image Image

Scheduled Trigger:

Image Image

What you think should happen instead?

The dagrun details should be displayed on card/list view for manually trigger DAG also.

How to reproduce

  1. Trigger the below DAG with schedule=None and schedule='@daily'
  2. With manual trigger, there are no dagrun details on card/list view.
from airflow import DAG
from airflow.decorators import task
from datetime import datetime, timedelta
from airflow.utils.task_group import TaskGroup


@task
def onetwothree():
    return [1, 2, 3]


@task
def consumer(value):
    print(value)


with DAG(
    dag_id="with_rename",
    start_date=datetime(1970, 1, 1),
    schedule=None,
    tags=["taskmap"]
) as dag:

    with TaskGroup("tg"):
        consumer(1)  # consumer
        consumer(2)  # consumer__1
        consumer.expand(value=[1, 2, 3])

Operating System

Linux

Versions of Apache Airflow Providers

No response

Deployment

Other

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

No one assigned

    Labels

    area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions