WMDE Analytics Tech Debt
This task was generated using the WMDE Analytics tech debt form. Please use the task templates linked on our project page to create tasks for the team. Thank you!
Why (Context & Benefit)
What problem are you trying to solve, and how will the team benefit? What would happen if we didn’t do this task?
WMF is 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 wmde instance, as defined in Gitlab in airflow-dags/wmde and Gerrit in deployment-charts/.../airflow-wmde.
Most of the changes are tracked as subtasks of T423248.
Sub Tasks
A breakdown of the steps to complete this task.
Resolving the Tech Debt
- Define PoC DAGs for the wmde instance (WMDE)
- WMDE DAGs tend to use the following
- Datasets sensors
- URLSensor
- SparkSqlOperator
- EmailOperator
- RestExternalTaskSensor
- HDFSArchiveOperator (write to a directory that a non-production user has access to)
- WMDE DAGs tend to use the following
- Testing the Dags in airflow-devenv to figure out the scope (see Accessing Airflow 3) (WMDE)
- Code upgrades to make sure most of the airflow-dags codebase is working (WMDE)
- Validation of the wmde instance in airflow-devenv (WMDE)
- Planning the switchover (WMF)
Finishing Up
- Required documentation is written
- The task is moved to Delivered (no reassignment necessary)