uranusjr opened a new pull request, #47906: URL: https://github.com/apache/airflow/pull/47906
This adds a filter to exlucde non-active (removed from dag file) dags in the dag dependency rendering. This has various side effects, most importantly, the UI would now correctly consider an asset to not have an upstream (when the upstream dag is removed and no longer runnable), and disable the materialize button. <img width="895" alt="image" src="https://github.com/user-attachments/assets/b8753172-3411-4a45-bd2a-ef7bbc0d63b5" /> Reproduce: 1. Create a dag with an asset outlet ```python @asset(schedule=None) def asset2_producer(): pass ``` 2. Delete the code (so the dag becomes inactive) 3. Go to the asset view and click at the ▶️ button 4. The “Materialize” option is not disabled, even though the upstream dag is now gone -- 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]
