nailo2c commented on code in PR #58543:
URL: https://github.com/apache/airflow/pull/58543#discussion_r3518477600


##########
airflow-core/src/airflow/jobs/scheduler_job_runner.py:
##########
@@ -2768,6 +2770,55 @@ def _update_state(dag: SerializedDAG, dag_run: DagRun):
                         dag_run.run_id,
                     )
                     continue
+            # For AssetAndTimeSchedule, defer starting until all required 
assets are queued.
+            # Only gate scheduled runs; manual and backfill runs should start 
immediately.
+            if isinstance(dag.timetable, AssetAndTimeSchedule) and 
dag_run.run_type == DagRunType.SCHEDULED:

Review Comment:
   I found that while resolving conflicts a few days ago, I accidentally 
force-pushed from a stale checkout, so the code you reviewed was not the 
behavioral flag version I mentioned... I'm really, really sorry about that.
   
   I have restored the latest version now. I'll be more careful going forward 
and make sure this doesn't happen again. 😫



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