xBis7 commented on code in PR #43941:
URL: https://github.com/apache/airflow/pull/43941#discussion_r1883843088


##########
airflow/jobs/scheduler_job_runner.py:
##########
@@ -1751,6 +1946,19 @@ def _schedule_dag_run(
                     "The DAG disappeared before verifying integrity: %s. 
Skipping.", dag_run.dag_id
                 )
                 return callback
+
+            if (
+                dag_run.scheduled_by_job_id is not None
+                and dag_run.set_scheduled_by_job_id != self.job.id

Review Comment:
   >  and dag_run.set_scheduled_by_job_id != self.job.id
   
   I don't know how I missed that. There are no unit tests at the moment but 
there are integration tests and there have been some failures which I'm 
debugging. This must be one of the issues.
   
   Another issue is that the tests stopped capturing the task output. I pushed 
a commit with a fix for that.
   
   I'll add some unit tests as well for the scheduler changes.



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