-
Notifications
You must be signed in to change notification settings - Fork 16.6k
Open
Labels
area:corekind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet
Description
Apache Airflow version
3.1.7
If "Other Airflow 3 version" selected, which one?
No response
What happened?
airflow ignore with negation incorrectly includes ignored dags from top folders.
How to reproduce
Consider an airflowignore like the following
*
!abc/
!abc/def/
!abc/def/xyz/
!abc/def/xyz/*
this should have the following behaviour:
- Ignore everything in the present path.
- Unignore abc/ path but not its contents.
- Unignore abc/def/ path but not its contents.
- Unignore abc/def/xyz/ path but not its contents.
- Unignore the contents of abc/def/xyz/ path.
However, the above airflowignore also unignores the direct contents of abc/ and the abc/def folders incorrectly.
What you think should happen instead?
Only contents of abc/def/xyz/ should be unignored, no other files from the top folders should be unignored.
Operating System
Debian GNU/Linux 12 (bookworm)
Deployment
Official Apache Airflow Helm Chart
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:corekind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet