eladkal commented on code in PR #40960:
URL: https://github.com/apache/airflow/pull/40960#discussion_r1708630990
##########
airflow/jobs/scheduler_job_runner.py:
##########
@@ -2048,6 +2048,9 @@ def _cleanup_stale_dags(self, session: Session =
NEW_SESSION) -> None:
session.flush()
def _set_orphaned(self, dataset: DatasetModel) -> int:
+ if dataset.is_orphaned:
Review Comment:
Should we have unit test for this change?
--
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]