Skip to content
This repository was archived by the owner on Nov 25, 2026. It is now read-only.

Track enums-as-domain-concept in the Supabase umbrella - #811

Merged
wmadden merged 1 commit into
mainfrom
docs-supabase-add-enums
Jun 12, 2026
Merged

wmadden merged 1 commit into
mainfrom
docs-supabase-add-enums

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor

Linked issue

n/a — umbrella tracker maintenance for the Supabase integration (projects/supabase-integration/). Adds the enums-as-domain-concept framework project to the tracked list.

At a glance

Enums are now a tracked part of the Supabase integration — they're central to it: Supabase's auth.* schema declares Postgres enum types and app schemas use enums heavily. New status-table row:

| enums-as-domain-concept | Enum as a domain-plane name→value valueSet restriction on the
column's codec (not native CREATE TYPE); Postgres = value-set + check constraint, Mongo =
$jsonSchema; typed reads + db.enums + declaration-order ORDER BY | 🚧 In progress (separate
Terminal project) — substrate/enforcement/read-surface landed; PSL authoring, defaults,
cutover, Mongo remain |

Decision

Doc-only. Add enums-as-domain-concept to the umbrella tracker. It is not one of the original six constituents — it's a separate Terminal Linear project — so it gets the same treatment the README already gives the PSL-block substrate: a clearly-marked adopted framework project the integration depends on, with a note explaining the relevance rather than a claim that it was always in scope.

Why it belongs in the list: faithfully modelling enum-typed columns in the Supabase contract (auth.* uses Postgres enums) and giving Supabase apps first-class enums both depend on it. It's not a hard blocker for the minimal walking skeleton, but it's required for the v0.1 enum story.

What changed

  • Status table — new enums-as-domain-concept row: substrate (TML-2850) + Postgres enforcement (TML-2851) + read surface (TML-2852, TML-2852: enums become first-class in application code — typed I/O, db.enums, declaration-order ORDER BY #769) landed; PSL authoring (TML-2882), member defaults (TML-2855), native-enum cutover (TML-2853), and the Mongo vertical (TML-2884) remain.
  • Note below the table — explains the Supabase relevance and flags the design choice that the Postgres realization is a text column + value-set + check constraint, not a native CREATE TYPE … AS ENUM.
  • Dependency graph — enums node added; foundation --> enums and a dashed enums -.-> ext ("enum-typed columns") edge.
  • Bumped the status-pass date to 2026-06-11.

Reviewer notes

  • Pure docs; no source or behaviour change.
  • enums-as-domain-concept has its own Linear project and its own spec/plan under projects/enums-as-domain-concept/ — this PR only references it from the umbrella, it doesn't move or change it.
  • The dashed graph edge mirrors the "adopted, not a hard blocker for the minimal skeleton" framing in the prose.

Testing performed

n/a — documentation only.

Skill update

n/a — internal planning docs only; no user-facing surface change.

Checklist

  • All commits are signed off (git commit -s).
  • I read CONTRIBUTING.md and the change is scoped to one logical concern.
  • Tests are updated (n/a — doc-only).
  • The PR title is in TML-NNNN: <title> form — n/a: umbrella tracker maintenance with no single Linear ticket.
  • The Skill update section is filled in (n/a — internal only).

@wmadden-electric
wmadden-electric requested a review from a team as a code owner June 11, 2026 12:45
@coderabbitai

coderabbitai Bot commented Jun 11, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • projects/supabase-integration/README.md is excluded by !projects/**

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 071a625b-ed2f-40be-850b-8b0382487e99

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs-supabase-add-enums

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

Copy link
Copy Markdown

size-limit report 📦

Path Size
postgres / no-emit 154.35 KB (0%)
postgres / emit 121.56 KB (0%)
mongo / no-emit 76.83 KB (0%)
mongo / emit 70.95 KB (0%)
cf-worker / no-emit 183.37 KB (0%)
cf-worker / emit 147.31 KB (0%)

@pkg-pr-new

pkg-pr-new Bot commented Jun 11, 2026

Copy link
Copy Markdown

Open in StackBlitz

@prisma-next/extension-author-tools

npm i https://pkg.pr.new/@prisma-next/extension-author-tools@811

@prisma-next/mongo-runtime

npm i https://pkg.pr.new/@prisma-next/mongo-runtime@811

@prisma-next/family-mongo

npm i https://pkg.pr.new/@prisma-next/family-mongo@811

@prisma-next/sql-runtime

npm i https://pkg.pr.new/@prisma-next/sql-runtime@811

@prisma-next/family-sql

npm i https://pkg.pr.new/@prisma-next/family-sql@811

@prisma-next/extension-arktype-json

npm i https://pkg.pr.new/@prisma-next/extension-arktype-json@811

@prisma-next/middleware-cache

npm i https://pkg.pr.new/@prisma-next/middleware-cache@811

@prisma-next/mongo

npm i https://pkg.pr.new/@prisma-next/mongo@811

@prisma-next/extension-paradedb

npm i https://pkg.pr.new/@prisma-next/extension-paradedb@811

@prisma-next/extension-pgvector

npm i https://pkg.pr.new/@prisma-next/extension-pgvector@811

@prisma-next/extension-postgis

npm i https://pkg.pr.new/@prisma-next/extension-postgis@811

@prisma-next/postgres

npm i https://pkg.pr.new/@prisma-next/postgres@811

@prisma-next/sql-orm-client

npm i https://pkg.pr.new/@prisma-next/sql-orm-client@811

@prisma-next/sqlite

npm i https://pkg.pr.new/@prisma-next/sqlite@811

@prisma-next/extension-supabase

npm i https://pkg.pr.new/@prisma-next/extension-supabase@811

@prisma-next/target-mongo

npm i https://pkg.pr.new/@prisma-next/target-mongo@811

@prisma-next/adapter-mongo

npm i https://pkg.pr.new/@prisma-next/adapter-mongo@811

@prisma-next/driver-mongo

npm i https://pkg.pr.new/@prisma-next/driver-mongo@811

@prisma-next/contract

npm i https://pkg.pr.new/@prisma-next/contract@811

@prisma-next/utils

npm i https://pkg.pr.new/@prisma-next/utils@811

@prisma-next/config

npm i https://pkg.pr.new/@prisma-next/config@811

@prisma-next/errors

npm i https://pkg.pr.new/@prisma-next/errors@811

@prisma-next/framework-components

npm i https://pkg.pr.new/@prisma-next/framework-components@811

@prisma-next/operations

npm i https://pkg.pr.new/@prisma-next/operations@811

@prisma-next/ts-render

npm i https://pkg.pr.new/@prisma-next/ts-render@811

@prisma-next/contract-authoring

npm i https://pkg.pr.new/@prisma-next/contract-authoring@811

@prisma-next/ids

npm i https://pkg.pr.new/@prisma-next/ids@811

@prisma-next/psl-parser

npm i https://pkg.pr.new/@prisma-next/psl-parser@811

@prisma-next/psl-printer

npm i https://pkg.pr.new/@prisma-next/psl-printer@811

@prisma-next/cli

npm i https://pkg.pr.new/@prisma-next/cli@811

@prisma-next/cli-telemetry

npm i https://pkg.pr.new/@prisma-next/cli-telemetry@811

@prisma-next/emitter

npm i https://pkg.pr.new/@prisma-next/emitter@811

@prisma-next/migration-tools

npm i https://pkg.pr.new/@prisma-next/migration-tools@811

prisma-next

npm i https://pkg.pr.new/prisma-next@811

@prisma-next/vite-plugin-contract-emit

npm i https://pkg.pr.new/@prisma-next/vite-plugin-contract-emit@811

@prisma-next/mongo-codec

npm i https://pkg.pr.new/@prisma-next/mongo-codec@811

@prisma-next/mongo-contract

npm i https://pkg.pr.new/@prisma-next/mongo-contract@811

@prisma-next/mongo-value

npm i https://pkg.pr.new/@prisma-next/mongo-value@811

@prisma-next/mongo-contract-psl

npm i https://pkg.pr.new/@prisma-next/mongo-contract-psl@811

@prisma-next/mongo-contract-ts

npm i https://pkg.pr.new/@prisma-next/mongo-contract-ts@811

@prisma-next/mongo-emitter

npm i https://pkg.pr.new/@prisma-next/mongo-emitter@811

@prisma-next/mongo-schema-ir

npm i https://pkg.pr.new/@prisma-next/mongo-schema-ir@811

@prisma-next/mongo-query-ast

npm i https://pkg.pr.new/@prisma-next/mongo-query-ast@811

@prisma-next/mongo-orm

npm i https://pkg.pr.new/@prisma-next/mongo-orm@811

@prisma-next/mongo-query-builder

npm i https://pkg.pr.new/@prisma-next/mongo-query-builder@811

@prisma-next/mongo-lowering

npm i https://pkg.pr.new/@prisma-next/mongo-lowering@811

@prisma-next/mongo-wire

npm i https://pkg.pr.new/@prisma-next/mongo-wire@811

@prisma-next/sql-contract

npm i https://pkg.pr.new/@prisma-next/sql-contract@811

@prisma-next/sql-errors

npm i https://pkg.pr.new/@prisma-next/sql-errors@811

@prisma-next/sql-operations

npm i https://pkg.pr.new/@prisma-next/sql-operations@811

@prisma-next/sql-schema-ir

npm i https://pkg.pr.new/@prisma-next/sql-schema-ir@811

@prisma-next/sql-contract-psl

npm i https://pkg.pr.new/@prisma-next/sql-contract-psl@811

@prisma-next/sql-contract-ts

npm i https://pkg.pr.new/@prisma-next/sql-contract-ts@811

@prisma-next/sql-contract-emitter

npm i https://pkg.pr.new/@prisma-next/sql-contract-emitter@811

@prisma-next/sql-lane-query-builder

npm i https://pkg.pr.new/@prisma-next/sql-lane-query-builder@811

@prisma-next/sql-relational-core

npm i https://pkg.pr.new/@prisma-next/sql-relational-core@811

@prisma-next/sql-builder

npm i https://pkg.pr.new/@prisma-next/sql-builder@811

@prisma-next/target-postgres

npm i https://pkg.pr.new/@prisma-next/target-postgres@811

@prisma-next/target-sqlite

npm i https://pkg.pr.new/@prisma-next/target-sqlite@811

@prisma-next/adapter-postgres

npm i https://pkg.pr.new/@prisma-next/adapter-postgres@811

@prisma-next/adapter-sqlite

npm i https://pkg.pr.new/@prisma-next/adapter-sqlite@811

@prisma-next/driver-postgres

npm i https://pkg.pr.new/@prisma-next/driver-postgres@811

@prisma-next/driver-sqlite

npm i https://pkg.pr.new/@prisma-next/driver-sqlite@811

commit: 75b0db3

Enums are central to Supabase (auth.* declares Postgres enum types; app
schemas use them heavily), so add enums-as-domain-concept to the umbrella
tracker as an adopted framework project — same treatment as the PSL-block
substrate (a separate Terminal project the integration depends on, not one
of the original six).

- status table: new row (substrate/enforcement/read-surface landed;
  PSL authoring, defaults, cutover, Mongo remain)
- note explaining the Supabase relevance + the check-constraint (not
  native CREATE TYPE) realization
- dependency graph: enums node, foundation --> enums, enums -.-> ext
- bump status-pass date to 2026-06-11

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@wmadden
wmadden force-pushed the docs-supabase-add-enums branch from 75b0db3 to 3f0d813 Compare June 12, 2026 14:44
@wmadden
wmadden enabled auto-merge June 12, 2026 14:44
@wmadden
wmadden added this pull request to the merge queue Jun 12, 2026
Merged via the queue into main with commit 3c96875 Jun 12, 2026
19 checks passed
@wmadden
wmadden deleted the docs-supabase-add-enums branch June 12, 2026 14:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants