Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent DAG Import Errors Display in Airflow UI #45276

Open
1 of 2 tasks
swapnilpatil0905 opened this issue Dec 30, 2024 · 4 comments
Open
1 of 2 tasks

Inconsistent DAG Import Errors Display in Airflow UI #45276

swapnilpatil0905 opened this issue Dec 30, 2024 · 4 comments
Labels
area:core area:UI Related to UI/UX. For Frontend Developers. kind:bug This is a clearly a bug needs-triage label for new issues that we didn't triage yet

Comments

@swapnilpatil0905
Copy link

Apache Airflow version

2.10.4

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

No response

What happened?

When refreshing the Airflow UI, the displayed count of DAG import errors is inconsistent. The following issues are observed:

  1. The number of DAG import errors changes with each refresh. For example, errors may fluctuate between 13, 14, and 17.
  2. Some old import errors disappear after a refresh but reappear during subsequent refreshes.

Impact:
This inconsistency makes it difficult to accurately identify and address DAG import issues, leading to potential confusion and inefficiencies in debugging workflows.

What you think should happen instead?

Screenshot 2024-12-30 at 10 18 12 AM Screenshot 2024-12-30 at 10 18 44 AM

Expected Behavior:
The count and details of DAG import errors should remain consistent across UI refreshes until the underlying errors are resolved.

How to reproduce

Steps to Reproduce:

  1. Open the Airflow UI.
  2. Note the number of DAG import errors displayed.
  3. Refresh the UI multiple times and observe the changes in the count of errors.
  4. Compare the errors to verify if previously resolved issues reappear.

Operating System

NAME="Red Hat Enterprise Linux" VERSION="9.4 (Plow)" ID="rhel" ID_LIKE="fedora" VERSION_ID="9.4" PLATFORM_ID="platform:el9" PRETTY_NAME="Red Hat Enterprise Linux 9.4 (Plow)" ANSI_COLOR="0;31" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos" HOME_URL="https://www.redhat.com/" DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9" BUG_REPORT_URL="https://issues.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 9" REDHAT_BUGZILLA_PRODUCT_VERSION=9.4 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION="9.4"

Versions of Apache Airflow Providers

2.9.2

Deployment

Official Apache Airflow Helm Chart

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

@swapnilpatil0905 swapnilpatil0905 added area:core kind:bug This is a clearly a bug needs-triage label for new issues that we didn't triage yet labels Dec 30, 2024
Copy link

boring-cyborg bot commented Dec 30, 2024

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

@dosubot dosubot bot added the area:UI Related to UI/UX. For Frontend Developers. label Dec 30, 2024
@ephraimbuddy
Copy link
Contributor

DAGs are constantly being parsed, and if some are due to import timeouts during parsing, then those DAGs could pass at times and fail at other times. I think that's what you are experiencing, and it's not a bug

@tirkarthi
Copy link
Contributor

Are the dag files in the dags folder python files or zip files?

@swapnilpatil0905
Copy link
Author

swapnilpatil0905 commented Dec 30, 2024

@tirkarthi Few are in dags folder whereas few are zipped. Note: We are running on multipod webserver mode.
Screenshot 2024-12-30 at 1 03 47 PM
Screenshot 2024-12-30 at 1 05 26 PM
Screenshot 2024-12-30 at 1 04 39 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core area:UI Related to UI/UX. For Frontend Developers. kind:bug This is a clearly a bug needs-triage label for new issues that we didn't triage yet
Projects
None yet
Development

No branches or pull requests

3 participants