Skip to content

Fix Omni asset group layout in Dagster UI#187

Merged
vbalalian merged 1 commit intomainfrom
fix/dagster-omni-layout
Mar 12, 2026
Merged

Fix Omni asset group layout in Dagster UI#187
vbalalian merged 1 commit intomainfrom
fix/dagster-omni-layout

Conversation

@vbalalian
Copy link
Copy Markdown
Owner

Summary

  • Skip query-level AssetSpec creation in CustomOmniComponent by returning None for queries in get_asset_spec
  • Build all document deps exclusively from topic YAML parsing (superset of query-derived deps)
  • Eliminates intermediate AssetSpec objects with remapped dbt model keys and conflicting group_name="omni_analytics" that could confuse the Dagster UI's Dagre layout algorithm

Test plan

  • CI passes (linting, import checks)
  • CD deploys successfully and Omni state refreshes
  • dg list defs shows correct assets, groups, and deps on VM
  • Dagster UI renders omni_analytics group flowing downstream from dbt_models

…opics

The parent OmniComponent creates AssetSpec objects for each query and
passes them as deps to document specs. These query specs get the
translation applied (group_name="omni_analytics"), creating intermediate
AssetSpec objects with remapped dbt model keys but the wrong group name.

This change returns None for queries in get_asset_spec, preventing the
parent from creating these intermediate specs. All document deps are now
built exclusively from topic YAML parsing, which provides a superset of
the query-derived deps (base table + all joined tables).
@vbalalian vbalalian merged commit 7770544 into main Mar 12, 2026
3 checks passed
@vbalalian vbalalian deleted the fix/dagster-omni-layout branch March 12, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant