Skip to content

DAG tags filter not showing all tags in UI #50711

@arthur-ventura-astro

Description

@arthur-ventura-astro

Apache Airflow version

3.0.1

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

No response

What happened?

When dealing with a big number of tags, the DAG tags filter appears to be "truncating" the tags list.
Even when searching for a specific tag, it doesn't appear in the filter dropdown.

The example used to test this is showcased in details below. The idea is simple, to create a DAG with a significant amount of tags. The results can be seen in the images below.

Image
Image
Image

What you think should happen instead?

All tags defined in the DAG should appear in the filter.

How to reproduce

Create a DAG with the following tags parameter setting:

...
with DAG(
    dag_id="basic_example",
    schedule="0 15 * * *",
    start_date=datetime(2024, 11, 6),
    catchup=False,
    tags=[str(i) for i in range(1000)]
) as dag:
...

Then go to the DAG tags filter and search for a tag greater than 150.

Operating System

MacOS 15.4.1

Versions of Apache Airflow Providers

No response

Deployment

Docker-Compose

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

Labels

affected_version:3.0Issues Reported for 3.0area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugpriority: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