Repository navigation
Closed
Labels
Description
Target release: v0.3-alpha — Deployment Profiles, Stages, and Promotion
Priority: P1
Tracker: #111
Context
v0.3 keeps one shared OpenMetadata deployment while representing canonical shared stages separately. Personal DEV workspace outputs remain intentionally outside the canonical governance catalog.
The stage data-plane identity is already explicit:
Polaris/Trino catalogs:
lakehouse_dev
lakehouse_uat # optional
lakehouse_prod
OpenMetadata service roots:
database: lakehouse_dev / lakehouse_uat / lakehouse_prod
dashboard: superset_dev / superset_uat / superset_prod
pipeline: dagster_dev / dagster_uat / dagster_prod
Business Domains remain business concepts; DEV/UAT/PROD are lifecycle stages, not OpenMetadata Domains.
Architecture decisions
- Deploy one OpenMetadata instance when at least one enabled stage has
governance: true. - Use deterministic stage-qualified database/dashboard/pipeline service roots.
- Represent stage through managed classification/tag/property, not Domain hierarchy.
- PROD is the canonical governance/lineage surface; shared DEV ingestion is optional according to stage capability.
- Personal
ws_<user>_*namespaces are excluded from canonical crawling/reconciliation. - Ambiguous cross-stage OpenLineage identity fails closed; DEV lineage may remain disabled rather than contaminate PROD entities.
Scope
- Consume stage/capability resolution from Define Deployment Profile v1 and the typed deployment-topology resolver #113 and shared-service topology from Make provider IaC stage-aware on one shared Kubernetes cluster #133.
- Register database services aligned to
lakehouse_<stage>catalog identities from Implement provider-neutral stage storage, catalog, and namespace isolation #114. - Register stage-qualified dashboard services from Add stage-aware Superset authoring and report promotion #130 and pipeline services from Deploy isolated Dagster instances per shared stage #134.
- Add/manage an
OpenLakeForgeStageclassification/tag/property with DEV/UAT/PROD values. - Preserve business Domain/Data Product ownership independently of stage.
- Make reconciliation stage-scoped so reconciling one stage cannot update/delete another stage's managed services/entities.
- Exclude
ws_<user>_*_silver/ws_<user>_*_goldnamespaces and workspace storage prefixes from normal ingestion. - Make project metadata deployment/reconciliation revision-aware through Separate platform deployment and activate immutable project revisions by stage #115 where applicable.
- Review OpenLineage namespace/service mapping for stage safety; if DEV/PROD cannot be mapped unambiguously, keep DEV canonical OpenLineage disabled.
- After Add stage-aware Superset authoring and report promotion #130 report deployment, reconcile/crawl only the target stage's Superset service when governance is enabled for that stage.
- Keep workspace execution independent from OpenMetadata availability.
Acceptance criteria
- One OpenMetadata deployment can represent DEV and PROD, plus optional UAT, with deterministic separate service roots.
- Database service identity aligns to
lakehouse_dev, optionallakehouse_uat, andlakehouse_prod. - Dashboard/pipeline services are stage-qualified (
superset_<stage>,dagster_<stage>). - Business Domains are not duplicated into DEV/PROD pseudo-domains.
- Stage is visible/filterable through managed classification/tag/property.
- Reconciliation for one stage cannot overwrite/delete another stage's managed entities.
- Personal
ws_<user>_*namespaces do not appear through the normal canonical ingestion flow. - PROD lineage resolves only to canonical PROD entities.
- DEV OpenLineage is either stage-safe and tested or explicitly disabled; ambiguous identity is never accepted silently.
- DEV workspace/local DuckDB execution does not require OpenMetadata.
Non-goals
- One OpenMetadata deployment per stage or per workspace.
- Full DEV lineage parity with PROD.
- Modeling lifecycle stage as an OpenMetadata Domain.
- SSO/RBAC policy for stage visibility.
Dependencies and sequencing
- Depends on Define Deployment Profile v1 and the typed deployment-topology resolver #113 profile resolution, Make provider IaC stage-aware on one shared Kubernetes cluster #133 shared-service topology, Implement provider-neutral stage storage, catalog, and namespace isolation #114 stage catalog identity, and Deploy isolated Dagster instances per shared stage #134 stage-isolated Dagster services.
- Coordinates with Separate platform deployment and activate immutable project revisions by stage #115 revision-aware project metadata deployment and Add stage-aware Superset authoring and report promotion #130 stage-aware Superset ingestion.
- Should land before final Integrate immutable stage promotion CI/CD across shared DEV, optional UAT, and PROD #119 promotion integration.
Activity
[-]Make OpenMetadata stage-aware while keeping DEV workspaces out of the governance catalog[/-][+]Make OpenMetadata stage-aware while excluding personal workspaces from canonical governance[/+]malon64 commentedon Sep 9, 2026
Scope reconciliation — the shared instance and stage gating exist; stage qualification does not
Auditing the milestone against
main(e5134a0). This is the least-started ofthe three remaining P1 features, and the gap is sharper than the issue body
implies.
Already delivered by #133 / #114
The "one shared OpenMetadata deployment when at least one enabled stage has
governance: true" architecture decision is implemented:local/main.tf:283iscount = local.governance_enabled ? 1 : 0, wheregovernance_enabledis true when any enabled stage asks for it.Stage capability gating exists.
local.governed_stagesfilters the enabledstages by
governance, and the Dagster module receivesenabled = local.governance_enabled && each.value.governance— so a stage that did notenable governance gets no OpenLineage configuration and no ingestion-bot
credential.
workload_namespacesis already scoped to governed stages only,and
revoked_namespacescovers the rest.Stage-qualified catalog identity, which this issue's service roots must align
to, is already canonical:
lakehouse_<stage>, validated inprovider_contracts.py.What actually remains — effectively all of it
tools/olf/olf/openmetadata/contains zero occurrences of the word"stage".
grep -rn stage tools/olf/olf/openmetadata/ | wc -lreturns0across
_config.py,_orchestration.py,_payloads.py,_reconciliation.py.Worse than absent — the current model actively picks one stage and
registers a single service for it.
local/main.tf:89-90:and the module takes scalars, not maps —
modules/governance/openmetadata/variables.tf:201dagster_webserver_url,:213superset_url. So today OpenMetadata registers one Dagster pipelineservice and one Superset dashboard service, pointed at whichever stage
those two expressions selected.
That means the deterministic stage-qualified roots this issue specifies —
dagster_<stage>,superset_<stage>,lakehouse_<stage>— do not exist, andthe acceptance criterion "reconciliation for one stage cannot overwrite or
delete another stage's managed entities" has nothing to enforce it, because
there is only one set of managed entities.
Open work:
registration with deterministic
<service>_<stage>roots.olf/openmetadata/_reconciliation.pyso onestage's run cannot touch another's managed entities.
OpenLakeForgeStageclassification/tag, keeping businessDomains free of DEV/UAT/PROD pseudo-domains.
ws_<user>_*namespaces from canonical ingestion.canonical lineage, per the fail-closed decision in the issue body.
Sequencing
This depends on #134 and #130 landing their service identities first: step 1
registers
dagster_<stage>andsuperset_<stage>, which those two issuescreate. Starting here before them means inventing names they may not produce.
Two pre-existing constraints to design around
docs/technical-debt.mdrecords both, and neither is introduced by this issue:ingestion pipeline are registered but never triggered, because the connector
uses the deprecated
PipelineRunsGraphQL type while Dagster 1.x usesRuns— still true in OpenMetadata
1.13.0-release. Stage-qualified registrationis achievable; stage-qualified pipeline ingestion is blocked upstream. The
acceptance criteria should be read against registration.
calls, with no stale managed-asset reconciliation. Making reconciliation
stage-scoped is a good moment to address that, but it widens the change —
worth deciding deliberately rather than absorbing.
test: assert every provider adapter against one conformance suite
test: assert every provider adapter against one conformance suite
test: assert every provider adapter against one conformance suite
9 remaining items
fix: upsert the canonical crawler so a stage switch refreshes its filter
feat: register every governed stage in OpenMetadata under stage-quali…
fix: upsert the canonical crawler so a stage switch refreshes its filter
feat: register every governed stage in OpenMetadata under stage-quali…
malon64 commentedon Sep 29, 2026
Scope decisions (maintainer, 2026-09-29)
OpenLakeForgeStagetag: dropped. Stage is already visible and filterable through the deterministic stage-qualified roots (<catalog>.lakehouse_<stage>,dagster_<stage>,superset_<stage>), which the nightly asserts in every stage (test: assert each governed stage's OpenMetadata roots in the e2e suite #244). A classification would duplicate that.ws_<user>_*exclusion: moved toPost-beta — Developer Workspaces. Nothing creates personal workspace namespaces until Run personal DEV workspaces locally with DuckDB over Iceberg catalog adapters #117/Implement personal DEV workspace lifecycle and catalog namespace isolation #118, which live in that milestone, so there is nothing to exclude in v0.3.Remaining for v0.3: the OpenLineage namespace. Every governed stage's Dagster currently sends lineage under the literal namespace
dagster(infra/terraform/modules/orchestration/dagster/main.tf), while each stage's pipeline service isdagster_<stage>. With DEV and PROD both governed, their lineage collapses into one ambiguous namespace, which the "ambiguous identity is never accepted silently" criterion forbids. A PR follows.feat: crawl the lakehouse into OpenMetadata through Trino
malon64 commentedon Sep 29, 2026
Closing for v0.3. Against the acceptance criteria:
lakehouse_<stage><service>.lakehouse_<stage>per stage (#237). Since #252, each stage's catalog is also crawled into its own root through Trinosuperset_<stage>,dagster_<stage>(#237, #244)OpenLakeForgeStagetag was dropped by decision (2026-09-29)ws_<user>_*excluded from canonical ingestion<service>.<database>.<schema>.<table>. The nightly asserts in both stages that every Gold table has upstream lineage and that none of it reaches another stage's databasedagster_<stage>namespace, with auto-created entities (#252)Moved to Post-beta Cloud Integrations: AWS OpenMetadata registration. Deferred review points are tracked in #256.
test: assert every provider adapter against one conformance suite (Op…
feat: scope openmetadata reconciliation to one stage's database root (O…
feat: export deterministic OpenMetadata service roots per stage (Open…
feat: register every governed stage in OpenMetadata under stage-quali…
test: assert each governed stage's OpenMetadata roots in the e2e suite (
feat: stage-safe lineage on OpenMetadata 1.13.6, crawling the lakehou…
fix: keep seeded table stubs when the catalog crawl runs (OpenLakeFor…