github-actions[bot] opened a new pull request, #59175:
URL: https://github.com/apache/airflow/pull/59175

   Dags using operators with dictionary values in template_fields (such as
   env_vars) were getting different hashes on each parse, even when the
   actual dictionary content was unchanged. This happened because
   serialize_template_field converts dictionaries to string
   using str(), which preserves insertion order. When dictionary ordering
   varies between parses (e.g., when env_vars comes from os.environ.copy()),
   the string representation differs, causing inconsistent hashing.
   
   Prevents unnecessary Dag updates and reprocessing when only dictionary
   ordering differs in template fields.
   (cherry picked from commit d46a9d120657d7fa0c70477d961120024fecd893)
   
   Co-authored-by: Ephraim Anierobi <[email protected]>


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