-
Notifications
You must be signed in to change notification settings - Fork 16.8k
Description
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
- I agree to follow this project's Code of Conduct