Pranaykarvi commented on code in PR #63443:
URL: https://github.com/apache/airflow/pull/63443#discussion_r2925248349
##########
airflow-core/src/airflow/models/serialized_dag.py:
##########
@@ -446,7 +446,16 @@ def _definitions_match(deadline_data: dict, existing:
DeadlineAlertModel) -> boo
if len(existing_deadline_uuids) != len(new_deadline_data):
return None
- existing_deadline_uuids_as_uuid = [UUID(uid) for uid in
existing_deadline_uuids]
+ # After 3.1→3.2 migration, entries may be UUID strings or legacy dicts
(e.g. encoded alert).
Review Comment:
Updated the comment to be more explicit about the three cases handled and
why. Please take another look!
--
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]