kalluripradeep commented on code in PR #61019:
URL: https://github.com/apache/airflow/pull/61019#discussion_r2727422415


##########
airflow-core/src/airflow/dag_processing/manager.py:
##########
@@ -318,7 +318,10 @@ def deactivate_stale_dags(
             DagModel.fileloc,
             DagModel.last_parsed_time,
             DagModel.relative_fileloc,
-        ).where(~DagModel.is_stale, DagModel.bundle_name.in_(bundle_names))
+        ).where(
+            ~DagModel.is_stale,
+            (DagModel.bundle_name.in_(bundle_names)) | 
(DagModel.bundle_name.is_(None)),

Review Comment:
   > In my opinion, option 1 would be better in the long-run. If we go that 
route, it would be better to create a new migration for 3.0.x.
   > 
   > But we should let a maintainer/committer weigh in first.
   
   @jedcunningham @ephraimbuddy @potiuk  Any Leads?
   



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