Skip to content

Implement provider-neutral stage storage, catalog, and namespace isolation #114

Closed

Description

@malon64

Target release: v0.3-alpha — Deployment Profiles, Stages, and Promotion
Priority: P0
Tracker: #111

Context

The stage is the shared lakehouse isolation boundary. Physical implementation
must remain provider-neutral and preserve ADR 0004's per-layer storage boundary.
Local/Azure use Polaris; AWS uses Glue, so the generic contract cannot require a
Polaris catalog or principal.

#153 defines the stage-aware provider contract and proves the AWS mapping before
this issue provisions it.

Scope

  • Provision provider-derived Bronze, Silver, and Gold storage identities for
    every enabled stage, plus separately owned ops artifacts.
  • Preserve one logical namespace per owner and layer:
    <source>_bronze, <domain>_silver, and <product>_gold.
  • Expose canonical SQL catalog identities such as lakehouse_dev and
    lakehouse_prod through the provider mapping proven in Define stage-aware provider-contract v3 and prove AWS Glue isolation #153.
  • Implement catalog adapters:
    • local/Azure: stage-isolated Polaris catalogs and roles;
    • AWS: collision-free Glue physical databases/catalog mapping and
      stage-restricted workload permissions.
  • Configure Trino, Floe, dbt, Dagster, namespace reconciliation, and artifact
    generation from the selected stage contract.
  • Ensure stage-generated credentials/configuration cannot resolve another
    stage's catalog or storage through normal OLF paths.
  • Keep physical bucket/container/catalog names out of Deployment Profiles and
    project descriptors.
  • Define the v0.2 single-stage storage/catalog migration and compatibility path.
  • Add behavioral and E2E assertions for accidental cross-stage writes.

Acceptance criteria

  • Every enabled stage has distinct Bronze, Silver, and Gold storage.
  • Ops artifacts remain outside medallion storage ownership.
  • Canonical logical owner/layer namespaces remain provider-neutral.
  • Local/Azure Polaris and AWS Glue satisfy the same v3 stage contract.
  • DEV runtime configuration cannot read/write PROD, and vice versa.
  • The same business identities can exist in every stage without collision.
  • Terraform, ops state, and backups retain their own lifecycle boundaries.
  • Existing single-stage users have a documented migration path.

Non-goals

  • Personal workspace namespaces or lifecycle (v0.4).
  • Human IAM/SSO, masking/sampling, or remote Terraform state.

Dependencies and sequencing

Activity

  1. self-assigned this
    on Aug 18, 2026
  2. added
    roadmap
    on Aug 18, 2026
  3. changed the title [-]Adopt stage-level lakehouse storage with layer and workspace prefixes[/-] [+]Implement stage lakehouse storage, Polaris catalogs, and namespace isolation[/+] on Aug 19, 2026
  4. changed the title [-]Implement stage lakehouse storage, Polaris catalogs, and namespace isolation[/-] [+]Implement provider-neutral stage storage, catalog, and namespace isolation[/+] on Aug 27, 2026
  5. added
    priority: P0
    on Aug 27, 2026
  6. 6 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: P0roadmap

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions