arifrhm commented on issue #76558: URL: https://github.com/apache/airflow/issues/76558#issuecomment-6668263120
I've opened a pull request to resolve this: https://github.com/apache/airflow/pull/76565 It eager-loads both `AssetEvent.asset` and `AssetEvent.source_aliases` via `selectinload` in `ti_run`, eliminating the N+1 queries during Pydantic response validation under the `FOR UPDATE` lock, and adds test coverage for multiple consumed asset events. -- 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]
