Skip to content

Implement personal DEV workspace lifecycle and catalog namespace isolation #118

Open

Description

@malon64

Milestone: Post-v1 — Developer Workspaces and Portal
Roadmap sequence: #183 (revised 2026-09-15)

Target release: Post-beta — Developer Workspaces
Priority: P1
Roadmap: #183

Context

A personal workspace is a cheap DEV data-isolation context, not a miniature OpenLakeForge deployment and not a separate runtime profile. It reuses the DEV catalog/bucket and shared DEV Bronze, while isolating the user's Silver/Gold outputs through workspace namespaces and storage prefixes.

initial workspace release uses one persistent personal workspace per user. Future CI may add ephemeral PR workspaces as a separate extension.

Example:

shared read:
lakehouse_dev.stripe_bronze.payments

ametwalli writes:
lakehouse_dev.ws_ametwalli_sales_silver.orders
lakehouse_dev.ws_ametwalli_revenue_gold.monthly_revenue

Scope

  • Introduce a canonical personal Workspace model with:
    • normalized user/workspace identity;
    • stage fixed to dev;
    • DEV bucket workspace storage prefix;
    • resolved Silver/Gold workspace namespaces;
    • shared Bronze read access;
    • Polaris principal/role/grant metadata.
  • Enforce one persistent personal workspace per user in the initial workspace release UX/contract.
  • Add olf workspace create, list, show, reset, and delete commands (or equivalent) with machine-readable output.
  • Provision workspace storage only under the DEV stage bucket from Implement provider-neutral stage storage, catalog, and namespace isolation #114.
  • Create workspace namespaces using:
    • ws_<user>_<domain>_silver;
    • ws_<user>_<product>_gold.
  • Grant workspace principals read-only access to canonical DEV Bronze namespaces.
  • Grant writes only to that user's workspace Silver/Gold namespaces/locations.
  • Prevent access to lakehouse_prod and prevent writes to canonical shared DEV Silver/Gold.
  • Keep workspace lifecycle outside Terraform; creation/reset/deletion must use OLF/runtime/catalog APIs rather than Terraform state.
  • Ensure reset/delete operations can never delete canonical DEV data or another user's workspace.
  • Produce the local connection/context metadata required by Run personal DEV workspaces locally with DuckDB over Iceberg catalog adapters #117 to run DuckDB from the developer machine.

Acceptance criteria

  • olf workspace create ametwalli creates only workspace metadata, DEV storage prefixes, Polaris namespaces, and grants.
  • No workspace operation creates Kubernetes namespaces/services, Dagster, Superset, OpenMetadata, Trino, Polaris, PostgreSQL, object-store services, or Terraform state.
  • The workspace can read lakehouse_dev.<source>_bronze.* but cannot write canonical Bronze/Silver/Gold.
  • The workspace can write only its own lakehouse_dev.ws_ametwalli_*_silver/gold.* namespaces.
  • The workspace has no access to lakehouse_prod through generated Polaris credentials/roles.
  • Two users can materialize the same logical Silver/Gold table names without collisions.
  • Reset/delete affects only the target user's workspace outputs.
  • One persistent personal workspace per user is enforced/documented for initial workspace release.
  • Commands expose machine-readable JSON suitable for later CI/agent integration.

Non-goals

Dependencies and sequencing

Binding contract corrections

Bronze read grants target raw objects through the stage storage contract. Catalog grants apply to workspace Silver/Gold through the selected provider adapter; Polaris-specific examples do not require Polaris on AWS. #119 shared-stage promotion must complete before this milestone and does not depend on this feature.

Activity

  1. self-assigned this
    on Aug 18, 2026
  2. added
    roadmap
    on Aug 18, 2026
  3. changed the title [-]Implement lightweight DEV workspaces with shared Bronze and isolated Silver/Gold[/-] [+]Implement personal DEV workspace lifecycle and Polaris namespace isolation[/+] on Aug 19, 2026
  4. modified the milestones: v0.3-alpha — Stages, Workspaces, and Promotion, on Aug 27, 2026
  5. added
    priority: P1
    on Aug 27, 2026
  6. changed the title [-]Implement personal DEV workspace lifecycle and Polaris namespace isolation[/-] [+]Implement personal DEV workspace lifecycle and catalog namespace isolation[/+] on Aug 27, 2026
  7. malon64 commented on Aug 27, 2026

    @malon64
    CollaboratorAuthor

    Roadmap review (2026-08-27): moved to v0.4. Workspace identity/grants will bind to the provider-neutral stage contract from #153 after v0.3 proves shared DEV/PROD isolation; the implementation must not make Polaris a generic cross-provider requirement.

  8. added
    track: portal
    on Oct 5, 2026
  9. modified the milestones: , v0.9-beta — Cloud Cost and Capacity on Nov 19, 2026
  10. malon64 commented on Nov 19, 2026

    @malon64
    CollaboratorAuthor

    Moved from Post-v1 to v0.9-beta (2026-11-19): local developer workspaces are part of what must be ready before v1.

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

Metadata

Metadata

Assignees

Labels

priority: P1roadmaptrack: portal

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions