You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/12/23 15:54:43 UTC
[GitHub] [airflow] ephraimbuddy opened a new issue #13287: The LegacyUIDeprecatedRule and ChainBetwenDAGAndOperatorNotAllowedRule are not working as expected
ephraimbuddy opened a new issue #13287:
URL: https://github.com/apache/airflow/issues/13287
Checking the upgrade check command and found out that LegacyUIDeprecatedRule and ChainBetwenDAGAndOperatorNotAllowedRule are not working as expected.
LegacyUIDeprecatedRule:
This is not working when `rbac` is set to `False` but works when it's set to `false`.
ChainBetwenDAGAndOperatorNotAllowedRule:
This is not working as I expected. I tested with the dag below and received no warning:
```
from airflow import models
from airflow.operators.dummy_operator import DummyOperator
from airflow.operators.python_operator import PythonOperator
from datetime import datetime
default_args = {
'owner': 'airflow',
'start_date': datetime(2018, 10, 31),
}
dag_name = 'on_failure_callback'
def fail():
raise Exception
def mycallback(context):
print("I HAVE BEEN CALLED! " * 4)
dag = models.DAG(dag_name,
default_args=default_args,
schedule_interval='@once',
catchup=False,
max_active_runs=5,
tags=['core']
)
test1 = DummyOperator(
task_id="test1",
start_date=datetime(2018, 10, 31)
)
dag >> test1
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] eladkal commented on issue #13287: The LegacyUIDeprecatedRule and ChainBetwenDAGAndOperatorNotAllowedRule are not working as expected
Posted by GitBox <gi...@apache.org>.
eladkal commented on issue #13287:
URL: https://github.com/apache/airflow/issues/13287#issuecomment-869015448
the first issue was fixed in https://github.com/apache/airflow/pull/14967 and released in 1.4.0 the second issue was not as https://github.com/apache/airflow/pull/14982 was stale. Since there are no more releases of upgrade check I'm closing this issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] eladkal closed issue #13287: The LegacyUIDeprecatedRule and ChainBetwenDAGAndOperatorNotAllowedRule are not working as expected
Posted by GitBox <gi...@apache.org>.
eladkal closed issue #13287:
URL: https://github.com/apache/airflow/issues/13287
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org