Vamsi-klu commented on issue #73089: URL: https://github.com/apache/airflow/issues/73089#issuecomment-5659258089
Tested #71714 on 3.3.2rc1. Installed `apache-airflow==3.3.2rc1` (Task SDK 1.3.2rc1) in a fresh Python 3.12.3 venv, SQLite, LocalExecutor. Reproduction for #66104: a wrapper that imports Airflow, plus a ZIP member and a plain `.py` whose source has none of the `airflow` / `dag` strings. `[core] dag_discovery_safe_mode = False` on the dag-processor. - First `airflow dag-processor --num-runs 1` created `nightly_zip` (`wrapped.zip/no_keywords.py`), `nightly_plain`, and the keyword-bearing control. Log: `Found 2 files for bundle dags-folder (dag_discovery_safe_mode=False)`. - Second processor scan left all three with `is_stale=False`. That is the scan that used to deactivate the ZIP member. - `airflow dags test nightly_zip` and `airflow dags test nightly_plain` both finished `state=success` (`run_step` returned `ok`). Same files with `dag_discovery_safe_mode=True`: processor found only the ZIP, activated only `zip_with_keywords`, and skipped the keyword-less member and the plain file. Works as expected. --- Drafted-by: Cursor Grok 4.6; reviewed by @Vamsi-klu before posting -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
