Skip to content

Clearning + making task success and failed is not showing on grid without a refresh #53069

@atul-astronomer

Description

@atul-astronomer

Apache Airflow version

3.0.3rc4

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

No response

What happened?

When user is clearing a task or changing the dagrun state, the updates are only reflected after user refreshes the page.

3.0.3rc4:

Screen.Recording.2025-07-09.at.12.21.11.PM.mov

3.0.2:

Screen.Recording.2025-07-09.at.12.22.15.PM.mov

What you think should happen instead?

No response

How to reproduce

Have any dag with a dagrun and try changing the state of a TI, the updated state is only reflected after user refreshes the page.

from airflow import AirflowException
from airflow.sdk import DAG
from airflow.decorators import task
from airflow.providers.standard.operators.bash import BashOperator
from airflow.exceptions import AirflowSkipException
from datetime import datetime, timedelta

with DAG(
    dag_id="expand_kwargs",
    doc_md="use expand_kwargs without a function",
    schedule=timedelta(days=30 * 365),
    start_date=datetime(1970, 1, 1),
    tags=["taskmap"]
) as expand_kwargs:

    @task
    def data():
        return [
            {"bash_command": "echo hello $USER", "env": {"USER": "foo"}},
            {"bash_command": "echo goodbye $USER", "env": {"USER": "bar"}},
        ]

    BashOperator.partial(task_id="two_tasks").expand_kwargs(data())

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

Labels

area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetpriority:mediumBug that should be fixed before next release but would not block a release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions