bobu-putheeckal opened a new pull request, #67432:
URL: https://github.com/apache/airflow/pull/67432

   Fixes #67271
   
   ## What changed
   - Mark non-stale DAGs as stale in the same `sync_bundles_to_db()` pass that 
disables a removed DAG bundle.
   - Keep the existing import-error cleanup for disabled bundles.
   - Extend the bundle sync test to cover `dag_bundle_config_list = []` and 
assert DAGs from the removed bundle become stale immediately.
   
   ## Tests
   - `uvx ruff check airflow-core/src/airflow/dag_processing/bundles/manager.py 
airflow-core/tests/unit/dag_processing/bundles/test_dag_bundle_manager.py`
   - `uv run --no-dev --with pytest --with time-machine --with uuid6 
--with-editable ./devel-common --with-editable ./shared/secrets_masker pytest 
airflow-core/tests/unit/dag_processing/bundles/test_dag_bundle_manager.py`
   
   ## Notes
   - A plain `uv run pytest ...` / `uv run ruff ...` attempted to sync the full 
default dev environment and failed locally while building `jpype1` because Java 
is not installed. The commands above avoid the unrelated JDBC provider build 
while still testing the touched backend path.
   


-- 
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]

Reply via email to