This is an automated email from the ASF dual-hosted git repository.
bugraoz pushed a change to branch ci-upgrade-66504ffb83
in repository https://gitbox.apache.org/repos/asf/airflow.git
discard 77bad2bae8f Remove suggested comment
discard a2ce70a00e8 CI: Upgrade important CI environment
add 934409f51d4 Correct the access for the externalLogUrl (#60412)
add 5b4908d7921 Add test to prevent ORM references in migration scripts
(#60176)
add ec441299d3d Add DAG importer abstraction layer (#60127)
add 706ae38bbca CI: Upgrade important CI environment
add 4799b5ead55 Remove suggested comment
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (77bad2bae8f)
\
N -- N -- N refs/heads/ci-upgrade-66504ffb83 (4799b5ead55)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
airflow-core/.pre-commit-config.yaml | 3 +-
.../api_fastapi/core_api/routes/public/log.py | 2 +-
airflow-core/src/airflow/dag_processing/dagbag.py | 296 ++++-------------
.../airflow/dag_processing/importers}/__init__.py | 42 +--
.../src/airflow/dag_processing/importers/base.py | 266 +++++++++++++++
.../dag_processing/importers/python_importer.py | 360 +++++++++++++++++++++
.../tests/unit/always/test_project_structure.py | 16 +-
.../unit/dag_processing/importers}/__init__.py | 0
.../unit/dag_processing/importers/test_registry.py | 99 ++++++
.../tests/unit/dag_processing/test_dagbag.py | 55 +---
.../_shared => tests/unit/migrations}/__init__.py | 0
.../test_no_orm_refs_in_migration_scripts.py | 68 ++++
.../tests/test_pytest_args_for_test_types.py | 1 +
.../src/tests_common/test_utils/file_loading.py | 16 +
scripts/ci/prek/check_tests_in_right_folders.py | 1 +
15 files changed, 915 insertions(+), 310 deletions(-)
copy {shared/secrets_masker/src/airflow_shared/secrets_masker =>
airflow-core/src/airflow/dag_processing/importers}/__init__.py (60%)
create mode 100644 airflow-core/src/airflow/dag_processing/importers/base.py
create mode 100644
airflow-core/src/airflow/dag_processing/importers/python_importer.py
copy airflow-core/{src/airflow/_shared =>
tests/unit/dag_processing/importers}/__init__.py (100%)
create mode 100644
airflow-core/tests/unit/dag_processing/importers/test_registry.py
copy airflow-core/{src/airflow/_shared => tests/unit/migrations}/__init__.py
(100%)
create mode 100644
airflow-core/tests/unit/migrations/test_no_orm_refs_in_migration_scripts.py