tirkarthi opened a new issue, #48482: URL: https://github.com/apache/airflow/issues/48482
### Apache Airflow version main (development) ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? When there are multiple dagruns per asset event only one is shown. I guess I made it this way because there was no dagrun list page and asset page during the component being added. Initially the design had first 2 or 3 dagruns and then more ones as "+n more" . Should all dagruns be shown as links or in case of "n more" should it be a popup showing them. `created_dagruns[0]` is used which should be looping through `created_dagruns` https://github.com/apache/airflow/blob/347c98cd8c285b7b8ca3a8a626be89d16a572bbf/airflow-core/src/airflow/ui/src/components/Assets/AssetEvent.tsx#L84-L92 ### What you think should happen instead? _No response_ ### How to reproduce 1. Create an asset event with both dags enabled. 2. Only one dagrun is shown in the asset event widget though 2 dagruns got triggered. ```python from __future__ import annotations import datetime from airflow.decorators import task from airflow.models.dag import DAG from airflow.sdk.definitions.asset import Asset asset = Asset(uri="s3://output.txt", name="test-asset-output") with DAG( dag_id="asset_dag_1", catchup=False, start_date=datetime.datetime.min, schedule=[asset], ): @task() def run_1(): pass run_1() with DAG( dag_id="asset_dag_2", catchup=False, start_date=datetime.datetime.min, schedule=[asset], ): @task() def run_2(): pass run_2() ``` ### Operating System Ubuntu 20.04 ### Versions of Apache Airflow Providers _No response_ ### Deployment Virtualenv installation ### 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]
