We are upgrading Airflow to version 3.3.x, mostly for security reasons, as Airflow 2.x is not supported anymore. Unfortunately, there are lots of APIs changes. This task is tracking the upgrade of analytics-test instance, as defined in Gitlab in airflow-dags/analytics_test and Gerrit in deployment-charts/.../airflow-analytics-test.
Most of the changes are tracked as subtasks of T423248.
Stages
- Ensure that all DAGs are serialisable in Airflow 3
- dags/refine/refine_to_hive_hourly_dag.py Local executor, Refine: scope map_index_template to mapped tasks
- Validation of the analytics-test instance in production?
[] Testing the Dags in airflow-devenv to figure out the scope (see Accessing Airflow 3).
[] Code upgrades to make sure most of the airflow-dags codebase is working
[] Validation of the analytics-test instance in airflow-devenv
[] Planning the switchover
PoCs for the analytics-test instance are:
- @xcollazo (provisionally)
Random cleanup
- Delete annotate_oomed_skein_task_instances (no longer needed)