kaxil commented on code in PR #54505: URL: https://github.com/apache/airflow/pull/54505#discussion_r2356988380
########## airflow-core/src/airflow/exceptions.py: ########## @@ -519,19 +302,43 @@ def __init__(self, dag_id: str | None = None, message: str | None = None): super().__init__(f"An unexpected error occurred while trying to deserialize Dag '{dag_id}'") +_DEPRECATED_EXCEPTIONS = { + "AirflowTaskTerminated": "airflow.sdk.exceptions.AirflowTaskTerminated", + "DuplicateTaskIdFound": "airflow.sdk.exceptions.DuplicateTaskIdFound", + "FailFastDagInvalidTriggerRule": "airflow.sdk.exceptions.FailFastDagInvalidTriggerRule", + "TaskAlreadyInTaskGroup": "airflow.sdk.exceptions.TaskAlreadyInTaskGroup", + "TaskDeferralTimeout": "airflow.sdk.exceptions.TaskDeferralTimeout", + "XComNotFound": "airflow.sdk.exceptions.XComNotFound", + "DownstreamTasksSkipped": "airflow.sdk.exceptions.DownstreamTasksSkipped", + "AirflowSensorTimeout": "airflow.sdk.exceptions.AirflowSensorTimeout", + "DagRunTriggerException": "airflow.sdk.exceptions.DagRunTriggerException", + "TaskDeferralError": "airflow.sdk.exceptions.TaskDeferralError", + "AirflowDagCycleException": "airflow.sdk.exceptions.AirflowDagCycleException", + # TODO: Verifying with Wei if we need to verify if Asset is inactive or not on both server & client + # It is used on server side before marking a task state in API-server + "AirflowInactiveAssetInInletOrOutletException": "airflow.sdk.exceptions.AirflowInactiveAssetInInletOrOutletException", Review Comment: fyi https://github.com/apache/airflow/pull/55714 is now merged -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org