Hi All
After upgrading Airflow from version 2.5.3 to 2.8.4 (python 3.11.8) and updating Datahub from 0.11 to 0.13.1 with the acryl-datahub-airflow-plugin[plugin-v2]==0.13.1.3 plugin, incoming and outgoing lineages for tasks stopped being created. I use context[‘ti’].task.inlets and context[‘ti’].task.outlets in custom operator. Incoming and outgoing entities are created before try to set lineage. Before the update Airflow and Datahub , everything was functioning correctly.
All information about DAG/task runs is being sent to Datahub with v2, but the lineages are not. If I set [plugin-v1] (in the same config), lineages appear, but, task runs info don’t show in the runs tab in Datahub.
In the Airflow task run logs inlets and outlets entities are present, logs data looks the same for v1 and v2
[2024-05-03, 12:24:46 UTC] {_lineage_core.py:64} INFO - Emitted from Lineage: DataJob(id='OZON_TRAFFIC_SOURCE', urn=DataJobUrn(urn:li:dataJob:(urn:li:dataFlow:(airflow,Ozon_Loader_from_CA,prod),OZON_TRAFFIC_SOURCE)), flow_urn=DataFlowUrn(urn:li:dataFlow:(airflow,Ozon_Loader_from_CA,prod)), name=None, description=None, properties={'depends_on_past': 'False', 'email': "['a???????p']", 'label': "'OZON_TRAFFIC_SOURCE'", 'execution_timeout': 'None', 'sla': 'None', 'task_id': "'OZON_TRAFFIC_SOURCE'", 'trigger_rule': "<TriggerRule.ALL_SUCCESS: 'all_success'>", 'wait_for_downstream': 'False', 'downstream_task_ids': '[]', 'inlets': "[Dataset(platform='ozon', name='CA_vendor_traffic', env='PROD', platform_instance=None)]", 'outlets': "[Dataset(platform='postgres', name='dwh.sa.ozon_ext_traffic_source', env='PROD', platform_instance=None)]"}, url='<http://airflow-dwh.apps.dmz.carely.group/taskinstance/list/?flt1_dag_id_equals=Ozon_Loader_from_CA&_flt_3_task_id=OZON_TRAFFIC_SOURCE>', tags={'loaders', 'ozon'}, owners={'A??????v'}, group_owners=set(), inlets=[DatasetUrn(urn:li:dataset:(urn:li:dataPlatform:ozon,CA_vendor_traffic,PROD))], outlets=[DatasetUrn(urn:li:dataset:(urn:li:dataPlatform:postgres,dwh.sa.ozon_ext_traffic_source,PROD))], fine_grained_lineages=[], upstream_urns=[])```![attachment](https://files.slack.com/files-pri/TUMKD5EGJ-F071PCV532A/image.png)![attachment](https://files.slack.com/files-pri/TUMKD5EGJ-F071FF5E1EK/image.png)