The GitHub Actions job "Tests (AMD)" on 
airflow.git/astro/perf-skip-empty-asset-registration has succeeded.
Run started by GitHub user dstandish (triggered by dstandish).

Head commit for run:
7a688fb10f6a05c6dd9d7a6e41e01915d8c6e7f7 / Daniel Standish 
<[email protected]>
Skip asset-change registration for tasks with no outlets

TaskInstance.register_asset_changes_in_db runs on every task-success
state transition. For a task that declares no outlet assets and emits no
outlet events -- the common case -- the method still executed its body
and issued an AssetModel SELECT with empty IN () clauses before doing
nothing useful. Return early when both task_outlets and outlet_events are
empty, avoiding that round-trip on the hot path that gates scheduling the
next task.

Signed-off-by: Daniel Standish <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to