This is an automated email from the ASF dual-hosted git repository.

dstandish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 57884f93dd Temporarily disable task_fail pre-upgrade duplicates check 
(#22839)
57884f93dd is described below

commit 57884f93ddd769687adbd72fbdba3d7b334b796e
Author: Daniel Standish <[email protected]>
AuthorDate: Thu Apr 7 19:22:11 2022 -0700

    Temporarily disable task_fail pre-upgrade duplicates check (#22839)
    
    I am reworking it to actually move the rows but for now we can disable it.
---
 airflow/utils/db.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/utils/db.py b/airflow/utils/db.py
index 2ebc1e51ed..bc4dd9ba91 100644
--- a/airflow/utils/db.py
+++ b/airflow/utils/db.py
@@ -1159,7 +1159,7 @@ def _check_migration_errors(session: Session = 
NEW_SESSION) -> Iterable[str]:
     :rtype: list[str]
     """
     check_functions: Tuple[Callable[..., Iterable[str]], ...] = (
-        check_task_fail_for_duplicates,
+        # todo: check task fail for duplicates
         check_conn_id_duplicates,
         check_conn_type_null,
         check_run_id_null,

Reply via email to