uranusjr commented on code in PR #60580:
URL: https://github.com/apache/airflow/pull/60580#discussion_r2791668587
##########
airflow-core/src/airflow/models/serialized_dag.py:
##########
@@ -371,6 +371,135 @@ def hash(cls, dag_data):
data_json = json.dumps(data_, sort_keys=True).encode("utf-8")
return md5(data_json).hexdigest()
+ # Fields to exclude from minimal version hash (noise/config that changes
frequently
+ # but doesn't affect task behavior or require a new version)
+ _EXCLUDED_TASK_FIELDS: set[str] = {
+ # Display/documentation
+ "ui_color",
+ "ui_fgcolor",
+ "doc",
+ "doc_md",
+ "doc_json",
+ "doc_yaml",
+ "doc_rst",
+ # Scheduling
+ "start_date",
+ "end_date",
Review Comment:
Don’t these affect scheduling? I feel they should require a new version.
--
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]