vatsrahul1001 opened a new issue, #47830: URL: https://github.com/apache/airflow/issues/47830
### Apache Airflow version 2.10.5 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? As per [AIP doc](https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-75+New+Asset-Centric+Syntax) its mentioned `Different assets can reference the same URI to support writing to the same data target from two functions`. <img width="1339" alt="Image" src="https://github.com/user-attachments/assets/47ec981b-91fb-4177-af1a-73abdd52a3d8" /> I tried this with Two asset same URI, however, DAG is failing with no error in task log, however, I do see error in Celery logs. `[airflow.sdk.api.client] detail={'detail': {'reason': 'validation_failed', 'message': 'Task Instance fails the runtime checks', 'error': "Task has the following inactive assets in its inlets or outlets: Asset(name='cba', uri='asset_uri_abc')"}}` Also in DB asset tables, I see both assets <img width="1076" alt="Image" src="https://github.com/user-attachments/assets/b35d048b-afc7-43ca-ac4f-19b17897e4fb" /> In the asset_active table, one asset is missing <img width="578" alt="Image" src="https://github.com/user-attachments/assets/93cc4c62-c6ab-4426-a739-90919163f6f4" /> ### What you think should happen instead? _No response_ ### How to reproduce Add below DAGs ``` from airflow.sdk.definitions.asset.decorators import asset from airflow.decorators import task from airflow.sdk.definitions.asset import Asset @asset(uri="s3://bucket/asset1_producer", schedule=None) def asset_producer(): pass @asset(schedule=asset_producer) def test_data(): print("Transforming raw customer data") ``` ``` from airflow.sdk.definitions.asset.decorators import asset @asset(schedule=None,uri="s3://bucket/asset1_producer") def raw_customers(): print("Retrieving raw customer data") @asset(schedule=raw_customers) def stg_customers(): print("Transforming raw customer data") ``` ### Operating System Linux ### Versions of Apache Airflow Providers _No response_ ### Deployment Other ### Deployment details _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
