Page MenuHomePhabricator

Homogeneize maintenance DAGs across all airflow instances
Closed, ResolvedPublic

Assigned To
Authored By
brouberol
Feb 10 2026, 1:40 PM
Referenced Files
F72171564: image.png
Feb 18 2026, 7:24 PM
F72171561: image.png
Feb 18 2026, 7:24 PM
F72171548: image.png
Feb 18 2026, 7:19 PM
Tokens
"Pterodactyl" token, awarded by xcollazo.

Description

While working on T415777, I realized that some instances didn't have the log cleaner DAG running, and some didn't have any maintenance DAG deployed at all.

We need to make sure that all instances are managed the same way.

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
test_k8s/external_task_sensor: update the monitored DAG idrepos/data-engineering/airflow-dags!2028brouberolT417011main
log/xcom_cleaner: batch deletions by 1000 recordsrepos/data-engineering/airflow-dags!2016brouberolT417011main
ml/log_cleaner: fix typo in importrepos/data-engineering/airflow-dags!2015brouberolT417011main
Homogenenize maintenance dags across all instancesrepos/data-engineering/airflow-dags!1999brouberolT417011main
Customize query in GitLab

Event Timeline

brouberol triaged this task as Medium priority.
brouberol changed the task status from Open to In Progress.Feb 10 2026, 1:40 PM
brouberol claimed this task.

All maintenance DAGs have been deployed, and I also had to refactor the log cleanup DAG to work in batches of 1000 files. As a result, we removed 20% of the overall files stored in S3 (old task logfiles > 6 months old)

image.png (1,401×1,372 px, 132 KB)

Actually, we removed half of the objects from S3!

image.png (1,410×1,371 px, 169 KB)
The previous graph also contained objects (files, really) contained in the cephfs.dumps.data pool.
image.png (1,396×1,244 px, 164 KB)