Skip to content

Project shaping: remove dbgenerated(...) from Prisma 8 (spec, plan, slice specs) - #30327

Merged
wmadden merged 4 commits into
mainfrom
remove-dbgenerated-plan
Sep 17, 2026
Merged

wmadden merged 4 commits into
mainfrom
remove-dbgenerated-plan

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor

Linked issue

n/a — project shaping artifacts. Follow-up PRs: slice A #30325, slice B #30324; slice C follows both.

Summary

Adds the project folder for removing @default(dbgenerated("...")) from Prisma 8: the project spec with its decisions, the plan splitting the work into three slices, the deferred-decision list, and the three slice specs. Nothing outside projects/remove-dbgenerated/ changes. Merging this first lets both slice PRs rebase to pure code diffs instead of each replaying the same docs commit.

Testing performed

  • n/a — docs only; pnpm lint:docs covers the markdown.

Skill update

n/a — internal only.

Checklist

  • All commits are signed off (git commit -s) per the DCO.
  • 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: <sentence-case title> form (no ticket; the project spec records that Linear is not yet created).
  • The Skill update section above is filled in.

Notes for the reviewer

The folder is transient: the project's close-out step moves long-lived content to docs/ and deletes it.

🤖 Generated with Claude Code

@wmadden-electric
wmadden-electric requested a review from a team as a code owner September 17, 2026 07:38
@coderabbitai

coderabbitai Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (6)
  • projects/remove-dbgenerated/deferred.md is excluded by !projects/**
  • projects/remove-dbgenerated/plan.md is excluded by !projects/**
  • projects/remove-dbgenerated/slices/a-sql-default-literal/spec.md is excluded by !projects/**
  • projects/remove-dbgenerated/slices/b-codec-psl-literals/spec.md is excluded by !projects/**
  • projects/remove-dbgenerated/slices/c-remove-dbgenerated/spec.md is excluded by !projects/**
  • projects/remove-dbgenerated/spec.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: Advanced

Run ID: 35c02c6e-ddad-40e6-8031-9d9a81637b14

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

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

wmadden-electric and others added 4 commits September 17, 2026 09:39
Project spec, plan, deferred decisions, and three slice specs: the sql tagged literal for raw SQL defaults (ADR 129), codec-owned PSL literals (the PSL half of ADR 184), and the removal itself with the Supabase contract regeneration and upgrade instruction. Slices A and B are independent and run in parallel; C depends on both.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ify comparison plan for raw defaults

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…t ADR 129 does and does not cover

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@wmadden
wmadden disabled auto-merge September 17, 2026 07:39
@wmadden
wmadden force-pushed the remove-dbgenerated-plan branch from 67f6477 to aa5603e Compare September 17, 2026 07:39
@wmadden
wmadden merged commit 2a30eb1 into main Sep 17, 2026
3 of 4 checks passed
@wmadden
wmadden deleted the remove-dbgenerated-plan branch September 17, 2026 07:39
RyanGarber pushed a commit to RyanGarber/prisma-orm that referenced this pull request Sep 20, 2026
…lice specs) (prisma#30327)

## Linked issue

n/a — project shaping artifacts. Follow-up PRs: slice A
prisma#30325, slice B
prisma#30324; slice C follows both.

## Summary

Adds the project folder for removing `@default(dbgenerated("..."))` from
Prisma 8: the project spec with its decisions, the plan splitting the
work into three slices, the deferred-decision list, and the three slice
specs. Nothing outside `projects/remove-dbgenerated/` changes. Merging
this first lets both slice PRs rebase to pure code diffs instead of each
replaying the same docs commit.

## Testing performed

- n/a — docs only; `pnpm lint:docs` covers the markdown.

## Skill update

n/a — internal only.

## Checklist

- [x] All commits are signed off (`git commit -s`) per the
[DCO](../CONTRIBUTING.md#developer-certificate-of-origin-dco).
- [x] I read [CONTRIBUTING.md](../CONTRIBUTING.md) and the change is
scoped to one logical concern.
- [x] Tests are updated (n/a, doc-only).
- [ ] The PR title is in `TML-NNNN: <sentence-case title>` form (no
ticket; the project spec records that Linear is not yet created).
- [x] The **Skill update** section above is filled in.

## Notes for the reviewer

The folder is transient: the project's close-out step moves long-lived
content to `docs/` and deletes it.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
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.

2 participants