Skip to content

Broken Task Tries, Landing Times, Duration pages due to large number of tasks #26395

@abhishekbhakat

Description

@abhishekbhakat

Apache Airflow version

2.3.4

What happened

The graphs are not visible as the number of tasks is over 600 with significantly large names.

What you think should happen instead

The page length should be a larger to fit the graph

How to reproduce

A dag with over 300 tasks with task ids near to 50 chars

Operating System

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian

Versions of Apache Airflow Providers

apache-airflow-providers-airbyte==2.1.4
apache-airflow-providers-amazon==4.0.0
apache-airflow-providers-apache-hive==4.0.0
apache-airflow-providers-apache-livy==3.1.0
apache-airflow-providers-celery==3.0.0
apache-airflow-providers-cncf-kubernetes==4.1.0
apache-airflow-providers-common-sql==1.0.0
apache-airflow-providers-databricks==2.2.0
apache-airflow-providers-elasticsearch==4.0.0
apache-airflow-providers-ftp==3.0.0
apache-airflow-providers-google==8.1.0
apache-airflow-providers-http==3.0.0
apache-airflow-providers-imap==3.0.0
apache-airflow-providers-microsoft-azure==4.2.0
apache-airflow-providers-pagerduty==2.1.3
apache-airflow-providers-postgres==5.0.0
apache-airflow-providers-redis==3.0.0
apache-airflow-providers-slack==4.2.3
apache-airflow-providers-snowflake==3.1.0
apache-airflow-providers-sqlite==3.0.0

Deployment

Astronomer

Deployment details

No response

Anything else

An svg of class nvd3-svg has pixel length of 7200. Calculated as per this code snippet:

600 + 660*10 = 7200

Whereas I had to change it to over 13650px for these graphs to fit (Different sizes for different pages) by inspect element on browser.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions