# teamclairvoyant/airflow-maintenance-dags

A series of DAGs/Workflows to help maintain the operation of Airflow

Repository: https://github.com/teamclairvoyant/airflow-maintenance-dags
Canonical: https://ross.abutalabs.com/products/airflow-maintenance-dags
Language: Python
License: Apache-2.0
License Family: permissive
Topics: airflow, dag, workflow, airflow-maintenance-dags, maintenance, cleanup, apache-airflow
Last push: 2024-06-18T05:33:47+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3548, "days_push": 806, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1771, forks 392 (observed 2026-08-28T04:05:34.124678+00:00)

## What it is
A collection of maintenance DAGs for Apache Airflow that automate operational housekeeping tasks such as database cleanup, log cleanup, config backups, and removing stale or broken DAG entries. Each workflow is deployed directly into an Airflow instance and runs on a schedule.

## Use cases
- clean up airflow metadata database
- delete old airflow task logs automatically
- backup airflow configuration files
- remove missing dags from airflow web server
- kill orphaned airflow tasks running in background
- generate sla miss reports for airflow
- delete broken dags with import errors

## When to choose
- you run a long-lived Airflow instance whose metadata DB and logs keep growing
- you want scheduled, automated Airflow housekeeping without manual scripts
- you need to clean stale DAG entries or orphaned background tasks

## When to avoid
- you don't use Apache Airflow
- you need a general-purpose workflow orchestrator rather than Airflow maintenance utilities
- you need actively supported enterprise tooling with guaranteed updates

## Facets
- artifact type: plugin
- maturity: active
- function: workflow-automation, scheduling, backup, developer-tools
- domain: self-hosted
- platform: python, self-hosted
- tags: apache-airflow, airflow-dags, maintenance, log-cleanup, database-cleanup, orchestration, devops, data-engineering, automation, docker, linux

## Member repositories
- teamclairvoyant/airflow-maintenance-dags (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:34.124678+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:26:01.712213+00:00, confidence not recorded.
  - readme: https://github.com/teamclairvoyant/airflow-maintenance-dags (fetched 2026-08-28T04:05:34.124678+00:00, sha 04ef8a8bcd97)
- Data as of 2026-08-30T08:39:29.467469+00:00.
