Repository navigation
UI: Show owning team in asset dependency popovers - #71446
Conversation
|
In the same way there's a On the public path, |
c7ae0da to
d7b6b3e
Compare
Good call, fixed |
|
I guess we should make all of these popovers more detailed. I'm sure users will want much more than just the dag name and team name |
What are you thinking in terms of information you want to display? |
@bbovenzi How to you want to tackle it?
|
|
My vote is to merge this one and iterate on it in the future if more information is desired |
d7b6b3e to
c98824e
Compare
Tracing data lineage across a multi-team deployment means jumping between assets and the Dags and tasks that produce or schedule them, without any signal of who owns each one. Surfacing the owning team directly in the "Scheduled Dags" and "Producing Tasks" popovers on the assets list makes ownership obvious while following those links, so operators know who to reach without opening each Dag. The team is resolved in a single batched lookup and only when multi-team support is enabled, so single-team deployments issue no extra query and see no change.
a287aab to
c0a986a
Compare
Backport failed to create: airflow-ctl/v0-1-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 513e46e airflow-ctl/v0-1-testThis should apply the commit to the airflow-ctl/v0-1-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. |
…5610) Seven core API models that only appear in responses, the config models and the asset reference models, extend StrictBaseModel. So the OpenAPI spec marks them "additionalProperties: false", and the airflowctl models generated from it get extra="forbid". When a newer server adds a field to one of them, an older airflowctl fails to parse the response. #71446 added the optional team_name field to two asset reference models for 3.4, and airflowctl from airflow-ctl/v0-1-test now fails on "assets list" and "assets get" against 3.4.0b2. StrictBaseModel is meant for request bodies, so that unknown fields sent by a client are rejected (#44306). Response models are built by the server, and new fields in them should not break existing clients.
…by newer API servers (#75610) (#75754) Seven core API models that only appear in responses, the config models and the asset reference models, extend StrictBaseModel. So the OpenAPI spec marks them "additionalProperties: false", and the airflowctl models generated from it get extra="forbid". When a newer server adds a field to one of them, an older airflowctl fails to parse the response. #71446 added the optional team_name field to two asset reference models for 3.4, and airflowctl from airflow-ctl/v0-1-test now fails on "assets list" and "assets get" against 3.4.0b2. StrictBaseModel is meant for request bodies, so that unknown fields sent by a client are rejected (#44306). Response models are built by the server, and new fields in them should not break existing clients. (cherry picked from commit e990430)
…by newer API servers (#75610) (#75754) Seven core API models that only appear in responses, the config models and the asset reference models, extend StrictBaseModel. So the OpenAPI spec marks them "additionalProperties: false", and the airflowctl models generated from it get extra="forbid". When a newer server adds a field to one of them, an older airflowctl fails to parse the response. #71446 added the optional team_name field to two asset reference models for 3.4, and airflowctl from airflow-ctl/v0-1-test now fails on "assets list" and "assets get" against 3.4.0b2. StrictBaseModel is meant for request bodies, so that unknown fields sent by a client are rejected (#44306). Response models are built by the server, and new fields in them should not break existing clients. (cherry picked from commit e990430)
Tracing data lineage across a multi-team deployment means jumping between assets and the Dags and tasks that produce or schedule them, without any signal of who owns each one. Surfacing the owning team directly in the "Scheduled Dags" and "Producing Tasks" popovers on the assets list makes ownership obvious while following those links, so operators know who to reach without opening each Dag.
The team is resolved in a single batched lookup and only when multi-team support is enabled, so single-team deployments issue no extra query and see no change.
Screenshots
Dags
Tasks
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.