Skip to content

Airflow(2.2.2) UI Does Not Show When DAG Deployment Get Exception And Not Schedules (Related with default_args' owner property) #21185

@bilgehan-biricik

Description

@bilgehan-biricik

Apache Airflow version

2.2.2

What happened

I am new to the Airflow and I am working on a project. I recently made some changes on one of the DAG and added my user name to default_args' owner property like this:
'owner': ['user.name1', 'user.name2'],
Me and my teammate merged like this and our CI/CD pipelines finished successfully and I thought deployment was successful. After that in the UI I didn't see my user name and thought changes not reflect immediately. But my DAG's next run column show hours ago and not schedules itself. We start manually once and it run with my latest changes. And I thought my latest changes are passed yet DAG is not schedules itself. Then we check our logs and saw an exception that this owner property is not accept list type but string type. We fix it like this 'owner': 'user.name1,user.name2' and problem is solved.

TL;DR: When get parse errors on deployment Airflow UI not showing an error and DAG is not schedules itself.

What you expected to happen

We think UI should show an error message and inform user for this DAG's exception.

How to reproduce

No response

Operating System

Centos 7

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

No one assigned

    Labels

    affected_version:2.2Issues Reported for 2.2area:UIRelated to UI/UX. For Frontend Developers.kind:bugThis is a clearly a bugwon't fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions