sejal-gupta-ksolves commented on code in PR #68837:
URL: https://github.com/apache/airflow/pull/68837#discussion_r3726107456
##########
task-sdk/src/airflow/sdk/definitions/dag.py:
##########
@@ -1361,7 +1362,7 @@ def test(
dr: DagRun = get_or_create_dagrun(
dag=scheduler_dag,
- start_date=logical_date or run_after,
+ start_date=run_start_date,
Review Comment:
Updated! I've refactored get_or_create_dagrun directly to default start_date
to timezone.utcnow() and removed the fallback to logical_date so caller sites
don't accidentally anchor the run start time to a logical date.
--
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]