sejal-gupta-ksolves commented on code in PR #68837:
URL: https://github.com/apache/airflow/pull/68837#discussion_r3726112447


##########
task-sdk/src/airflow/sdk/definitions/dag.py:
##########
@@ -1293,7 +1293,8 @@ def test(
 
             log.debug("Getting dagrun for dag %s", self.dag_id)
             logical_date = timezone.coerce_datetime(logical_date)
-            run_after = timezone.coerce_datetime(run_after) or 
timezone.coerce_datetime(timezone.utcnow())
+            run_start_date = timezone.coerce_datetime(timezone.utcnow())

Review Comment:
   Makes sense. Moved utcnow() to the get_or_create_dagrun call after the 
bundle sync to avoid the parse skew.



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