jason810496 commented on PR #47433:
URL: https://github.com/apache/airflow/pull/47433#issuecomment-2710365025

   > > Adding dag_reserialize back.
   > 
   > Why is this needed? Because the dag is not yet serialized?
   
   Yes, explicitly running `airflow dags reserialize` can resolve the issue 
described in 
https://github.com/apache/airflow/pull/47433#issuecomment-2708289346 (where 
triggering a new `dagRun` results in a 404, indicating that 
`DagModel.is_active` is `False`).  
   
   > If so, should we add a wait in the test instead?  
   
   I believe explicitly running `reserialize` is more precise than waiting for 
a fixed duration, which could introduce more flakiness in the future.
   


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