nathadfield commented on code in PR #63884:
URL: https://github.com/apache/airflow/pull/63884#discussion_r3008257352


##########
task-sdk/src/airflow/sdk/definitions/dag.py:
##########
@@ -545,6 +548,9 @@ def __rich_repr__(self):
     disable_bundle_versioning: bool = attrs.field(
         factory=_config_bool_factory("dag_processor", 
"disable_bundle_versioning")
     )
+    rerun_with_latest_version: bool | None = attrs.field(

Review Comment:
   Yes, this is backwards compatible. The field defaults to None and is 
optional in the serialized schema (`"type": ["boolean", "null"], "default": 
null`). An older core version will simply ignore the unknown field during 
deserialization, and a newer core with an older SDK will see None (the default) 
and fall through to the global config. The same pattern is used by 
disable_bundle_versioning.



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