Page MenuHomePhabricator

Upgrade airflow-dags codebase to both Airflow 2.x and 3.x compatible
Open, Needs TriagePublic

Description

There are lots of small changes that was in deprecation in 2.x and removed in 3.x. We can safely upgrade the codebase in main branch.

  • from airflow.compat.functools import *cache* to functool as of #42766/63ff22f403
  • Airflow 3.0 removes the legacy `schedule_interval and timetable parameters. DAGs must now use the unified schedule` field for all time- and event-based scheduling logic. This simplifies DAG definition and improves consistency across scheduling paradigms.
  • TypeError: Invalid arguments were passed to ExternalTaskMarker (task_id: mark_webrequest_actor_metrics_rollup_hourly_as_downstream). Invalid arguments were: **kwargs: {'execution_date': '{{ data_interval_start }}'}
  • T434642 might need backport

Event Timeline

Change #1356319 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] airlfow/airflow3-values: replace webserver.base_url by api.base_url

https://gerrit.wikimedia.org/r/1356319

Change #1356319 merged by Brouberol:

[operations/deployment-charts@master] airflow/airflow3-values: replace webserver.base_url by api.base_url

https://gerrit.wikimedia.org/r/1356319