Jkhall81 opened a new pull request, #60022: URL: https://github.com/apache/airflow/pull/60022
### **fix(assets): queue asset updates for stale DAGs** **closes:** #59337 #### **Summary** This PR ensures that asset updates are recorded in the `AssetDagRunQueue` even if a DAG is currently in a "stale" state. By allowing these updates to be queued, DAGs will automatically trigger their missed runs once they are successfully parsed and become healthy again, rather than remaining idle. #### **Changes** * **Backend:** Modified `AssetManager.register_asset_change` in `manager.py` to remove `is_stale` filtering while maintaining `is_paused` checks across direct, alias, and name/URI asset references. * **Database:** Refined the SQLAlchemy query for asset name/URI references to explicitly exclude paused DAGs for logic consistency. * **Tests:** Added a regression test in `test_manager.py` that mocks a stale DAG state and verifies it is correctly added to the `AssetDagRunQueue` upon an asset event. -- 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]
