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 wikidata instance, as defined in Gitlab in airflow-dags/wikidata and Gerrit in deployment-charts/.../airflow-wikidata.
Most of the changes are tracked as subtasks of T423248.
Stages
- Ensure that all DAGs are serialisable in Airflow 3
- Code upgrades to make sure most of the airflow-dags codebase is working
- Code uses SLA, upgrade and test T434642
- Testing the Dags in airflow-devenv to figure out the scope (see Accessing Airflow 3).
- wdqs_external_queries_rollup_daily: failed on permissions, I take it as positive signal, as we need to successfully run Spark to get to this error (will retry after copying test tables to my hdfs user)
- table_maintenance_iceberg_monthly
- wdqs_wikidata_data_reload: disabled for now
- Switchover (planned)
- Revalidation of the wikidata instance in prod
PoCs for the wikidata instance are: