This is an automated email from the ASF dual-hosted git repository.
github-actions[bot] pushed a change to branch ci-upgrade-main
in repository https://gitbox.apache.org/repos/asf/airflow.git
omit 885979c5807 [main] CI: Upgrade important CI environment
add deebac0c085 Fail fast when common-io state store path has no url
scheme (#77435)
add 5c4502dec81 Add clone and cd commands to contributors quick start
(#77526)
add 8c6adb23bec Keep durable replay across edits to a fallback chain
(#76801)
add dd113fc35cf Show some more details about durable execution benefits on
the task logs page (#76833)
add 63c48a035de Fix task sdk serde for kubernetes pods with k8s client v37
(#77523)
add cc995694371 Run task sdk tests and mypy when uv lock changes (#77525)
add 4dced2c8de9 Fix notifier crash when callback receives a SerializedDAG
(#74973)
add e3e04d1bce5 Add a resumable deferrable Databricks Genie operator
(#76157)
add 8deefb4a19b Require Python 3.11 for the YAML importer schema version
hook (#77534)
add e494b868cf7 Add docstrings for missing methods for hf provider.
(#77536)
add 997913ad79d Enhance API JWT invalidation for FAB auth manager (#77138)
add d429ea714e6 Fill zh-CN translation gaps and distinguish trigger from
triggerer (#77519)
add 8d6541d0761 chart: drop the default PgBouncer preStop hook (#74593)
add 2274e0c49bc Fix a DeadlineReference parsing race condition (#73299)
add 3aac6366554 Add TS ADR-0004 for task mapping (#77310)
add d2a08c20d31 Bump the fab-ui-package-updates group across 1 directory
with 2 updates (#77555)
add 9d13d24461a Retry EKS Fargate profile creation while the cluster has
an update in progress (#77505)
add 11e0bf3daeb Fix Databricks Genie tests broken by the durable execution
record (#77558)
add 73a6b61ab42 Evict FAB cached users when they are deactivated or
deleted (#77559)
add ca7ddee2eec Let a sync send() wait for the supervisor channel during
an asend() (#76545)
add c70a5edb11e Support SQLAlchemy 2.1 type hints (#77494)
add d85450b3b94 Add Databricks Model Serving as a common.ai model provider
(#76797)
new ed4048eaf3e [main] CI: Upgrade important CI environment
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 (885979c5807)
\
N -- N -- N refs/heads/ci-upgrade-main (ed4048eaf3e)
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.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../skills/airflow-translations/locales/zh-CN.md | 13 +
Dockerfile | 4 +-
Dockerfile.ci | 4 +-
.../lang-sdk/0016-mapped-tasks-across-lang-sdks.md | 20 +-
.../docs/core-concepts/task-state-store.rst | 7 +
airflow-core/docs/howto/deadline-alerts.rst | 33 +
airflow-core/pyproject.toml | 2 +-
.../{dag_warning.py => ui/durable_execution.py} | 30 +-
.../api_fastapi/core_api/openapi/_private_ui.yaml | 124 ++++
.../core_api/openapi/v2-rest-api-generated.yaml | 9 +
.../core_api/routes/public/dag_bundles.py | 1 +
.../core_api/routes/public/task_state_store.py | 20 +
.../api_fastapi/core_api/routes/ui/__init__.py | 2 +
.../core_api/routes/ui/durable_execution.py | 64 ++
.../core_api/services/public/import_errors.py | 2 +
.../execution_api/routes/dag_parsing.py | 8 +-
.../src/airflow/config_templates/config.yml | 3 +-
airflow-core/src/airflow/dag_processing/manager.py | 4 +-
.../src/airflow/jobs/scheduler_job_runner.py | 6 +-
airflow-core/src/airflow/models/dynamic_region.py | 9 +-
airflow-core/src/airflow/models/pool.py | 6 +-
.../src/airflow/models/task_coordinates.py | 11 +-
airflow-core/src/airflow/models/xcom.py | 14 +-
.../src/airflow/ui/openapi-gen/queries/common.ts | 18 +-
.../ui/openapi-gen/queries/ensureQueryData.ts | 29 +-
.../src/airflow/ui/openapi-gen/queries/prefetch.ts | 29 +-
.../src/airflow/ui/openapi-gen/queries/queries.ts | 29 +-
.../src/airflow/ui/openapi-gen/queries/suspense.ts | 29 +-
.../airflow/ui/openapi-gen/requests/schemas.gen.ts | 80 +++
.../ui/openapi-gen/requests/services.gen.ts | 42 +-
.../airflow/ui/openapi-gen/requests/types.gen.ts | 52 ++
.../src/airflow/ui/public/i18n/locales/en/dag.json | 20 +-
.../ui/public/i18n/locales/zh-CN/admin.json | 2 +-
.../ui/public/i18n/locales/zh-CN/assets.json | 13 +
.../ui/public/i18n/locales/zh-CN/browse.json | 42 ++
.../ui/public/i18n/locales/zh-CN/common.json | 14 +-
.../ui/public/i18n/locales/zh-CN/components.json | 4 +-
.../airflow/ui/public/i18n/locales/zh-CN/dag.json | 2 +
.../airflow/ui/public/i18n/locales/zh-CN/dags.json | 1 +
.../ui/public/i18n/locales/zh-CN/dashboard.json | 8 +-
.../ui/src/mocks/handlers/task_instances.ts | 3 +
.../pages/TaskInstance/Logs/DurableBanner.test.tsx | 187 +++++
.../src/pages/TaskInstance/Logs/DurableBanner.tsx | 132 ++++
.../ui/src/pages/TaskInstance/Logs/Logs.tsx | 2 +
.../pages/TaskInstance/Logs/LogsTryNumber.test.tsx | 26 +
.../ClearAllTaskStateStoreButton.test.tsx | 50 ++
.../ClearAllTaskStateStoreButton.tsx | 2 +
airflow-core/src/airflow/utils/db.py | 52 +-
airflow-core/src/airflow/utils/db_cleanup.py | 5 +-
airflow-core/src/airflow/utils/sqlalchemy.py | 19 +-
.../routes/public/test_task_state_store.py | 19 +
.../api_fastapi/core_api/routes/test_routes.py | 1 +
.../core_api/routes/ui/test_durable_execution.py | 129 ++++
airflow-core/tests/unit/models/test_deadline.py | 185 ++++-
airflow-e2e-tests/pyproject.toml | 2 +-
chart/newsfragments/74593.significant.rst | 3 +
.../airflow_aux/test_container_lifecycle.py | 11 +-
chart/values.schema.json | 12 +-
chart/values.yaml | 16 +-
contributing-docs/03_contributors_quick_start.rst | 12 +-
dev/breeze/doc/ci/02_images.md | 2 +-
dev/breeze/doc/ci/04_selective_checks.md | 9 +-
dev/breeze/pyproject.toml | 2 +-
.../commands/release_management_commands.py | 4 +-
.../files/hardened_os_deps_image_digests.json | 16 +-
.../files/hardened_python_image_digests.json | 16 +-
dev/breeze/src/airflow_breeze/global_constants.py | 2 +-
.../src/airflow_breeze/utils/selective_checks.py | 13 +-
dev/breeze/tests/test_selective_checks.py | 27 +
dev/breeze/uv.lock | 202 +++---
dev/mypy/README.md | 4 +
.../src/airflow_mypy/plugins/sqlalchemy_version.py | 59 ++
dev/mypy/tests/test_plugins.py | 42 ++
dev/provider_db_inventory.py | 2 +-
dev/pyproject.toml | 3 +-
.../src/tests_common/test_utils/task_state.py | 34 +-
providers/amazon/README.rst | 4 +-
providers/amazon/docs/index.rst | 4 +-
providers/amazon/pyproject.toml | 4 +-
.../airflow/providers/amazon/aws/operators/eks.py | 22 +-
.../airflow/providers/amazon/aws/utils/__init__.py | 30 +-
.../tests/unit/amazon/aws/operators/test_batch.py | 11 +-
.../tests/unit/amazon/aws/operators/test_eks.py | 24 +
.../amazon/aws/operators/test_redshift_data.py | 19 +-
.../aws/operators/test_sagemaker_training.py | 17 +-
.../tests/unit/amazon/aws/utils/test_utils.py | 51 ++
providers/common/ai/docs/changelog.rst | 19 +
providers/common/ai/docs/durable_execution.rst | 4 +
providers/common/ai/docs/model_providers.rst | 16 +-
providers/common/ai/docs/recovery.rst | 35 +-
.../providers/common/ai/durable/capability.py | 62 +-
.../providers/common/ai/durable/fingerprint.py | 21 +-
.../providers/common/ai/durable/member_stamp.py | 108 +++
.../providers/common/ai/hooks/pydantic_ai.py | 34 +-
.../unit/common/ai/durable/test_capability.py | 426 +++++++++++-
.../unit/common/ai/durable/test_fingerprint.py | 22 +
.../unit/common/ai/durable/test_member_stamp.py | 105 +++
.../tests/unit/common/ai/hooks/test_pydantic_ai.py | 111 ++-
providers/common/io/docs/changelog.rst | 6 +
providers/common/io/provider.yaml | 1 +
.../providers/common/io/get_provider_info.py | 2 +-
.../providers/common/io/state_store/backend.py | 12 +-
.../unit/common/io/state_store/test_backend.py | 21 +
.../databricks/docs/connections/databricks.rst | 3 +
.../docs/connections}/index.rst | 4 +-
.../docs/connections/pydantic_ai_databricks.rst | 189 +++++
providers/databricks/docs/index.rst | 2 +-
providers/databricks/docs/operators/genie.rst | 63 ++
.../databricks/docs/operators/genie_operator.rst | 161 +++++
providers/databricks/provider.yaml | 45 ++
providers/databricks/pyproject.toml | 2 +
.../src/airflow/providers/databricks/exceptions.py | 9 +
.../providers/databricks/get_provider_info.py | 38 +-
.../airflow/providers/databricks/hooks/genie.py | 481 +++++++++++++
.../providers/databricks/hooks/model_serving.py | 317 +++++++++
.../providers/databricks/operators/genie.py | 387 +++++++++++
.../airflow/providers/databricks/triggers/genie.py | 132 ++++
.../system/databricks/example_databricks_genie.py | 132 ++++
.../tests/unit/databricks/hooks/test_genie.py | 384 +++++++++++
.../unit/databricks/hooks/test_model_serving.py | 763 +++++++++++++++++++++
.../unit/databricks/operators/test_databricks.py | 43 +-
.../tests/unit/databricks/operators/test_genie.py | 692 +++++++++++++++++++
.../tests/unit/databricks/triggers/test_genie.py | 170 +++++
.../tests/unit/dbt/cloud/operators/test_dbt.py | 17 +-
providers/fab/docs/changelog.rst | 11 +
providers/fab/docs/migrations-ref.rst | 4 +-
.../fab/auth_manager/api_fastapi/services/users.py | 4 +-
.../providers/fab/auth_manager/fab_auth_manager.py | 90 ++-
.../providers/fab/auth_manager/models/__init__.py | 3 +
.../providers/fab/auth_manager/models/db.py | 1 +
.../fab/auth_manager/security_manager/override.py | 27 +-
.../providers/fab/auth_manager/views/user.py | 13 +
.../0002_3_12_0_add_token_generation_to_ab_user.py | 78 +++
providers/fab/src/airflow/providers/fab/www/app.py | 7 +-
.../providers/fab/www/extensions/init_session.py | 21 +
.../fab/src/airflow/providers/fab/www/package.json | 4 +-
.../src/airflow/providers/fab/www/pnpm-lock.yaml | 470 ++++++-------
.../api_fastapi/services/test_users.py | 26 +-
.../auth_manager/security_manager/test_override.py | 22 +
.../unit/fab/auth_manager/test_fab_auth_manager.py | 410 ++++++++++-
.../unit/fab/www/extensions/test_init_session.py | 66 ++
providers/fab/tests/unit/fab/www/test_app.py | 34 +
.../fab/www/views/test_views_custom_user_views.py | 74 +-
providers/google/README.rst | 2 +-
providers/google/docs/index.rst | 2 +-
providers/google/pyproject.toml | 2 +-
.../unit/google/cloud/operators/test_bigquery.py | 20 +-
providers/hashicorp/docs/index.rst | 2 +-
providers/hashicorp/pyproject.toml | 2 +-
.../providers/huggingface/assets/huggingface.py | 1 +
.../providers/huggingface/hooks/huggingface.py | 7 +
.../providers/huggingface/operators/datasets.py | 12 +
.../microsoft/azure/operators/test_data_factory.py | 11 +-
.../unit/microsoft/azure/operators/test_powerbi.py | 29 +-
providers/snowflake/pyproject.toml | 2 +-
.../unit/snowflake/operators/test_snowflake.py | 15 +-
pyproject.toml | 3 +-
scripts/ci/prek/boring_cyborg.py | 2 +-
scripts/ci/prek/check_aiobotocore_optional.py | 2 +-
.../ci/prek/check_airflow_bug_report_template.py | 2 +-
scripts/ci/prek/check_airflowctl_help_texts.py | 2 +-
scripts/ci/prek/check_ci_gate_needs.py | 2 +-
scripts/ci/prek/check_common_sql_dependency.py | 2 +-
scripts/ci/prek/check_connection_doc_labels.py | 2 +-
scripts/ci/prek/check_fork_ci_tests_merge.py | 2 +-
scripts/ci/prek/check_integrations_list.py | 2 +-
scripts/ci/prek/check_prek_hooks_pycache_prefix.py | 2 +-
scripts/ci/prek/check_prek_parallel_hooks.py | 2 +-
scripts/ci/prek/check_provider_docs.py | 2 +-
.../prek/check_scheduled_workflows_skip_forks.py | 2 +-
scripts/ci/prek/check_security_doc_constants.py | 2 +-
.../ci/prek/check_system_tests_hidden_in_index.py | 2 +-
.../ci/prek/check_yaml_importer_schema_versions.py | 2 +-
scripts/ci/prek/checkout_no_credentials.py | 2 +-
scripts/ci/prek/download_k8s_schemas.py | 2 +-
scripts/ci/prek/lint_json_schema.py | 2 +-
scripts/ci/prek/sort_in_the_wild.py | 2 +-
scripts/ci/prek/update_chart_dependencies.py | 2 +-
scripts/ci/prek/update_example_dags_paths.py | 2 +-
scripts/ci/prek/update_providers_dependencies.py | 2 +-
scripts/ci/prek/update_source_date_epoch.py | 2 +-
scripts/ci/prek/validate_chart_annotations.py | 2 +-
scripts/tools/setup_breeze | 2 +-
task-sdk/.pre-commit-config.yaml | 1 -
task-sdk/docs/resumable-job-mixin.rst | 24 +-
.../src/airflow/sdk/bases/resumablejobmixin.py | 122 +++-
.../airflow/sdk/definitions/_internal/templater.py | 2 +-
task-sdk/src/airflow/sdk/definitions/deadline.py | 175 ++++-
task-sdk/src/airflow/sdk/execution_time/comms.py | 188 ++---
task-sdk/src/airflow/sdk/serde/__init__.py | 2 +-
.../airflow/sdk/serde/serializers/kubernetes.py | 51 +-
task-sdk/tests/task_sdk/bases/test_notifier.py | 32 +
.../tests/task_sdk/bases/test_resumablejobmixin.py | 241 ++++++-
.../tests/task_sdk/execution_time/test_comms.py | 582 ++++++++++++----
task-sdk/tests/task_sdk/serde/test_serde.py | 18 +
task-sdk/tests/task_sdk/serde/test_serializers.py | 115 +++-
.../adr/0004-task-mapping-authoring-interface.md | 497 ++++++++++++++
uv.lock | 544 ++++++++-------
198 files changed, 10097 insertions(+), 1364 deletions(-)
copy airflow-core/src/airflow/api_fastapi/core_api/datamodels/{dag_warning.py
=> ui/durable_execution.py} (58%)
create mode 100644
airflow-core/src/airflow/api_fastapi/core_api/routes/ui/durable_execution.py
create mode 100644
airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/DurableBanner.test.tsx
create mode 100644
airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/DurableBanner.tsx
create mode 100644
airflow-core/src/airflow/ui/src/pages/TaskStateStore/ClearAllTaskStateStoreButton.test.tsx
create mode 100644
airflow-core/tests/unit/api_fastapi/core_api/routes/ui/test_durable_execution.py
create mode 100644 chart/newsfragments/74593.significant.rst
create mode 100644 dev/mypy/src/airflow_mypy/plugins/sqlalchemy_version.py
copy airflow-core/src/airflow/utils/dag_cycle_tester.py =>
devel-common/src/tests_common/test_utils/task_state.py (51%)
create mode 100644
providers/common/ai/src/airflow/providers/common/ai/durable/member_stamp.py
create mode 100644
providers/common/ai/tests/unit/common/ai/durable/test_member_stamp.py
copy providers/{opensearch/docs/operators =>
databricks/docs/connections}/index.rst (97%)
create mode 100644
providers/databricks/docs/connections/pydantic_ai_databricks.rst
create mode 100644 providers/databricks/docs/operators/genie.rst
create mode 100644 providers/databricks/docs/operators/genie_operator.rst
create mode 100644
providers/databricks/src/airflow/providers/databricks/hooks/genie.py
create mode 100644
providers/databricks/src/airflow/providers/databricks/hooks/model_serving.py
create mode 100644
providers/databricks/src/airflow/providers/databricks/operators/genie.py
create mode 100644
providers/databricks/src/airflow/providers/databricks/triggers/genie.py
create mode 100644
providers/databricks/tests/system/databricks/example_databricks_genie.py
create mode 100644
providers/databricks/tests/unit/databricks/hooks/test_genie.py
create mode 100644
providers/databricks/tests/unit/databricks/hooks/test_model_serving.py
create mode 100644
providers/databricks/tests/unit/databricks/operators/test_genie.py
create mode 100644
providers/databricks/tests/unit/databricks/triggers/test_genie.py
create mode 100644
providers/fab/src/airflow/providers/fab/migrations/versions/0002_3_12_0_add_token_generation_to_ab_user.py
create mode 100644 ts-sdk/adr/0004-task-mapping-authoring-interface.md