tirkarthi commented on PR #58574:
URL: https://github.com/apache/airflow/pull/58574#issuecomment-3573720428

   Yes, the tests also fail when the query is changed giving the traceback as 
reported in the issue. The issue can be reproduced with 2 dags with a deadline 
and task of time.sleep(10) and time.sleep(100) respectively
   When dag1 completes it tries to prune deadline for dag2 of same run_id. This 
is fixed by using DagRun.id to get deadline associated with only the dagrun and 
avoids retrieving other dagruns of same run_id.
   
   My question was that tests required session.merge but testing it manually in 
the UI with above setup didn't require it.


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