#73739·airflow

Dag version inflation check runs against zip file instead of individual dags

Author: rjh-yextCreated Sep 25, 2026Updated Sep 25, 2026
Labelskind:bugneeds-triage

Under which category would you file this issue?

Airflow Core

Apache Airflow version

3.3.1

What happened and how to reproduce it?

Dags that are deployed as zip files do not trigger the dag version inflation check configured in dag_version_inflation_check_level because the Dag Processor is passing the file it is processing as is to the checker. The checker tries to parse the zip file’s raw bytes as Python and silently returns no findings when parsing fails.

see: https://github.com/apache/airflow/blob/3.3.1/airflow-core/src/airflow/dag_processing/processor.py#L219-L235

https://github.com/apache/airflow/blob/3.3.1/airflow-core/src/airflow/utils/dag_version_inflation_checker.py#L569-L590

What you think should happen instead?

Individual dags within the zip file are checked

Operating System

debian 12

Deployment

Other Docker-based deployment

Apache Airflow Provider(s)

No response

Versions of Apache Airflow Providers

No response

Official Helm Chart version

Not Applicable

Kubernetes Version

No response

Helm Chart configuration

No response

Docker Image customizations

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct