GitHub user potiuk added a comment to the discussion: DAG Cluster Policies 
check running during task run with different relative_fileloc value than when 
it's run by DAG processor

Sure - feel free to check how it works in Airflow 3 and make PR there.you This 
has changed significantly in Airflow 3 because there are Dag bundles, so Dags 
can effectively come from different bundles of Dags - and even from temporary 
folders created by Git Bundle. Note that it's unlikely to be changed in Airflow 
2 as we only implement critical bugfixes and security fixes - and seems that 
this one has an easy workaround - especially that you seem to anyhow heavily 
customize it and use airflow for "multi-tenancy" which is not natively 
supported, so if you need to add any tweaks and workarounds to make it works, 
it's something you should take care of yourself.

GitHub link: 
https://github.com/apache/airflow/discussions/53745#discussioncomment-13886912

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to