ephraimbuddy opened a new pull request, #55884:
URL: https://github.com/apache/airflow/pull/55884

   When upgrading from Airflow 2, existing deferred triggers can reference 
TaskInstances without a dag_version_id and DagRuns with conf=None. This caused 
errors when the triggerer tried to start those triggers and when workers 
consumed ti_run responses.
   
   This change:
   1. Skips starting triggers whose TaskInstance lacks dag_version_id, logging 
a warning instead of erroring
   2. Coerces DagRun.conf from None to {} in the ti_run response for 
compatibility with Airflow 2-era data
   3. Adds unit tests covering both behaviors
   
   This prevents triggerer crashes and makes deferred tasks resume reliably 
after migration.
   
   


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