Repository navigation
Show assets materialized from an AssetAlias in the Assets tab - #71555
Merged
pierrejeambrun merged 1 commit intoAug 20, 2026
Merged
pierrejeambrun merged 1 commit into
pierrejeambrun merged 1 commit into
Conversation
… Assets tab An asset created at runtime by attaching it to an AssetAlias outlet via Metadata is referenced only through the alias association, not the schedule/outlet/inlet tables, so the asset-orphanage pass treated it as orphaned and never activated it. The Assets tab defaults to only_active, so the asset (and its alias) never showed up despite having events. Count the alias association as a reference so such assets are activated like any other. Fixes apache#58058.
pierrejeambrun
force-pushed
the
fix-alias-materialized-assets-inactive
branch
from
August 13, 2026 15:34
820e29f to
6b8c60e
Compare
pierrejeambrun
marked this pull request as ready for review
August 14, 2026 11:34
bbovenzi
approved these changes
Aug 19, 2026
Contributor
Backport failed to create: v3-3-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker 32f8527 v3-3-testThis should apply the commit to the v3-3-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
1 task done
pierrejeambrun
added a commit
that referenced
this pull request
Aug 21, 2026
… Assets tab (#71555) (#71935) An asset created at runtime by attaching it to an AssetAlias outlet via Metadata is referenced only through the alias association, not the schedule/outlet/inlet tables, so the asset-orphanage pass treated it as orphaned and never activated it. The Assets tab defaults to only_active, so the asset (and its alias) never showed up despite having events. Count the alias association as a reference so such assets are activated like any other. Fixes #58058. (cherry picked from commit 32f8527)
1 of 2 tasks
vatsrahul1001
pushed a commit
that referenced
this pull request
Sep 7, 2026
… Assets tab (#71555) (#71935) An asset created at runtime by attaching it to an AssetAlias outlet via Metadata is referenced only through the alias association, not the schedule/outlet/inlet tables, so the asset-orphanage pass treated it as orphaned and never activated it. The Assets tab defaults to only_active, so the asset (and its alias) never showed up despite having events. Count the alias association as a reference so such assets are activated like any other. Fixes #58058. (cherry picked from commit 32f8527)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes: #58058
An asset created at runtime by attaching it to an
AssetAliasoutlet viaMetadataoroutlet_eventsis referenced only through the alias association (asset_alias_asset), not the schedule/outlet/inlet reference tables. The scheduler's asset-orphanage pass (_update_asset_orphanage) therefore counts it as orphaned and never writes anAssetActiverow, so the Assets tab — which defaults toonly_active— never shows it, even though it has events and a live alias.This counts the alias association as a reference in the orphanage pass, so an asset attached to a live alias is activated like any other.
Repro dag:
Dag has a run (that materializes the alias)
Before
After
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 4.8) following the guidelines