The GitHub Actions job "Tests (AMD)" on 
airflow.git/claude/assets-eager-load-and-cache-invalidation has failed.
Run started by GitHub user bbovenzi (triggered by bbovenzi).

Head commit for run:
10e09e08d2974da12cf7c38c257bc1248b0a78f9 / Brent Bovenzi 
<[email protected]>
Eager-load Assets list relationships with selectinload and refresh it after new 
events

The Assets list eager-loads five relationships. subqueryload re-runs the whole
last-event query — including its max(asset_event.id) GROUP BY aggregation — as 
an
inner subquery once per relationship, so a single list page issued seven
aggregations of asset_event. selectinload emits a plain WHERE asset_id IN (page
ids) instead, matching the Dags list helper.

The query-count guard is also strengthened to give assets a watcher (with a
trigger) and an alias, so it actually covers the relationships and the nested
watcher -> trigger join it exists to protect.

Creating an asset event now invalidates the Assets list cache, so the row's last
event timestamp — and its position under the default last-event sort — update
instead of going stale.

Report URL: https://github.com/apache/airflow/actions/runs/30844656673

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to