SameerMesiah97 commented on code in PR #76958:
URL: https://github.com/apache/airflow/pull/76958#discussion_r4619650814


##########
airflow-core/src/airflow/jobs/scheduler_job_runner.py:
##########
@@ -3256,6 +3256,12 @@ def _start_queued_dagruns(self, session: Session) -> 
None:
         def _update_state(dag: SerializedDAG, dag_run: DagRun):
             dag_run.state = DagRunState.RUNNING
             dag_run.start_date = timezone.utcnow()
+            if dag.deadline:
+                dag._process_dagrun_deadline_alerts(

Review Comment:
   Pending deadlines for the run are now removed when the DagRun is queued 
again. Please see my latest commit.



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