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

TML-2919: convert not-null temp-default recipe to typed DDL; delete buildAddColumnSql - #840

Merged
wmadden-electric merged 15 commits into
mainfrom
tml-2919-pg-typed-ddl-residual-ops
Jun 24, 2026
Merged

wmadden-electric merged 15 commits into
mainfrom
tml-2919-pg-typed-ddl-residual-ops

Conversation

@wmadden-electric

@wmadden-electric wmadden-electric commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Linked issue

Refs TML-2919. First slice of Typed DDL migration ops — complete the conversion (Phase 2 of the marker-ledger typed-query-AST work). PG-first.

At a glance

The not-null-with-temporary-default recipe used to glue its ADD COLUMN step as raw SQL; it now builds the typed AddColumn DDL node and lowers it through the adapter — the same path AddColumnCall already uses:

// planner-recipes.ts — buildAddNotNullColumnWithTemporaryDefaultOperation
const ddlColumn = new DdlColumn({ ...spec, notNull: true, default: new FunctionColumnDefault(temporaryDefault) });
const addColumn = await lowerer.lowerToExecuteRequest(
  contractFreeDdl.alterTable({ schema, table, actions: [contractFreeDdl.addColumnAction(ddlColumn)] }),
);

buildAddColumnSql (the last raw ADD COLUMN string-builder) is deleted.

Decision

  1. Convert the not-null-temp-default recipe to the typed path. Its ADD COLUMN step lowers a typed AddColumn node; prechecks/postchecks lower through the adapter; the lowerer is threaded through (the recipe is already async). AddNotNullColumnDirectCall now carries a real DdlColumn (from the shared buildColumnSpec) instead of a pre-built SQL string.
  2. Delete buildAddColumnSql (+ its export + tests). git grep buildAddColumnSql is empty. After this, the only PG op still on raw SQL is CreateExtension — its own slice (TML-2920, an entity-kind modeling change).
  3. Data-transform EXISTS(<user sql>) wrapper stays raw — sanctioned. Its inner check is user-supplied SQL, lowered to {sql, params} before the wrapper is built, so there's no SelectAst to feed cfExpr.exists(); typing it would need new AST substrate, out of scope. Left with a comment marking it the sanctioned user-SQL-adjacent remnant.

Behavior change (benign, reviewed)

The temporary default now renders DEFAULT (expr) (via FunctionColumnDefault) instead of DEFAULT expr. Every value the recipe can produce is an atomic primary (literal / keyword / typecast / bit-string), so the parentheses are pure grouping — semantically identical in Postgres. No committed ops.json pins the recipe's output; the pgvector planner.behavior.test.ts assertions were updated to the parenthesized form.

Verification

  • Fresh workspace typecheck 138/138; target-postgres 320 / adapter-postgres 629 / pgvector 140 pass.
  • pnpm test:integration 1089/1089 (PGlite — the recipe executes here; isolated re-run, the per-run flakes are the documented PGlite load flakes).
  • pnpm fixtures:check clean; pnpm lint:deps clean; cast ratchet delta 0.
  • Focused review (principal-engineer lens): SATISFIED, no blockers.

Follow-ups

Checklist

  • All commits signed off (DCO).
  • Scoped to one logical concern (PG recipe conversion + dead-builder deletion).
  • Tests updated.
  • Title in TML-NNNN: <sentence-case> form.
  • Skill update: n/a — internal refactor, no public-surface/behavior change for consumers.

Summary by CodeRabbit

  • Refactor
    • Improved PostgreSQL DDL generation for NOT NULL column operations with temporary defaults, transitioning to typed structures for enhanced consistency and maintainability.
    • Updated default value formatting in generated SQL statements.

wmadden-electric and others added 2 commits June 16, 2026 14:12
…slice spec

New Phase-2 project (split from marker-ledger): complete the typed-DDL
migration-op conversion. PG-first. Slice 1 spec: convert the not-null
temporary-default recipe (buildAddColumnSql) to typed DDL; assess the
data-transform EXISTS wrapper; delete dead PG raw builders.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
The not-null-with-temporary-default recipe and the empty-table direct
NOT NULL add were the last Postgres ops emitting their ADD COLUMN execute
step as a raw SQL string (via buildAddColumnSql). Both now build a typed
AddColumn DDL node (contractFreeDdl.alterTable + addColumnAction) and lower
it through the adapter, mirroring AddColumnCall.toOp.

- planner-recipes.ts: the recipe builds a DdlColumn (notNull + the temporary
  backfill value as a FunctionColumnDefault) and lowers it. The temporary
  default is a pre-rendered SQL fragment carried verbatim, so the adapter
  emits it as a DEFAULT (...) clause — semantically identical to the prior
  DEFAULT ... form, byte-faithful at the fixture level (no committed ops.json
  carries this recipe's output). The DROP DEFAULT step stays the same raw
  ALTER COLUMN string used by the converted dropDefault op.
- AddNotNullColumnDirectCall now carries a DdlColumn (not pre-built SQL);
  planner-strategies builds it via the shared buildColumnSpec helper.
- addNotNullColumnDirect lowers the typed node for its execute step.
- boundSchema extracted to a shared module (used by the recipe, the column
  op, and op-factory-call).
- data-transform EXISTS wrapper left as a documented sanctioned user-SQL
  remnant: the check is lowered to a SQL string before the wrapper is built,
  so cfExpr.exists (which takes a pre-lowering CfExprSelectQuery) cannot type
  it without a new raw-subquery-as-EXISTS-source primitive (out of scope).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@wmadden-electric
wmadden-electric requested a review from a team as a code owner June 16, 2026 12:58
@coderabbitai

coderabbitai Bot commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@wmadden-electric, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 20 minutes and 16 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 73d2e9db-5e1a-44c3-b922-12a531a21d46

📥 Commits

Reviewing files that changed from the base of the PR and between 87fb912 and 43cb873.

📒 Files selected for processing (2)
  • skills/extension-author/prisma-next-extension-upgrade/upgrades/0.13-to-0.14/instructions.md
  • skills/extension-author/prisma-next-extension-upgrade/upgrades/0.14-to-0.15/instructions.md
📝 Walkthrough

Walkthrough

Replaces the raw-string buildAddColumnSql helper with a typed DdlColumn contract-free DDL pipeline for NOT NULL column migrations. Introduces DropDefaultAction as a new typed DDL node, wires adapter rendering for it, refactors addNotNullColumnDirect and planner-recipes to use typed lowering, updates AddNotNullColumnDirectCall to carry a DdlColumn, and removes buildAddColumnSql from the codebase and its public export.

Changes

NOT NULL column migration DDL refactor

Layer / File(s) Summary
DropDefaultAction DDL node and contract-free builder
packages/3-targets/3-targets/postgres/src/core/ddl/nodes.ts, packages/3-targets/3-targets/postgres/src/contract-free/ddl.ts, packages/3-targets/3-targets/postgres/src/exports/ddl.ts, packages/3-targets/3-targets/postgres/src/exports/contract-free.ts
Adds DropDefaultAction class with kind = 'drop-default' and columnName field, extends AlterTableActionVisitor with a dropDefault handler, expands AnyAlterTableAction union, introduces the dropDefaultAction(columnName) builder, and removes the now-unused schema?: string field from alterTable options. Both new symbols are re-exported publicly.
Adapter: render DropDefaultAction to SQL
packages/3-targets/6-adapters/postgres/src/core/control-adapter.ts
Extends pgRenderAlterTable action visitor with a dropDefault case that emits ALTER COLUMN <quoted-column> DROP DEFAULT.
columns.ts: typed DDL lowering for addNotNullColumnDirect and dropDefault
packages/3-targets/3-targets/postgres/src/core/migrations/operations/columns.ts
addNotNullColumnDirect signature changes to accept column: DdlColumn instead of executeStepSql: string, derives column name from column.name, and lowers a typed contractFreeDdl.alterTable with addColumnAction(column). dropDefault is similarly refactored to lower a typed contractFreeDdl.alterTable with dropDefaultAction and use dropDefaultExec.sql.
AddNotNullColumnDirectCall: carry DdlColumn, use namespace.qualify
packages/3-targets/3-targets/postgres/src/core/migrations/op-factory-call.ts
AddNotNullColumnDirectCall stores column: DdlColumn instead of executeStepSql: string. Replaces the local boundSchema helper with postgresCreateNamespace and uses namespace.qualify(...) for table names in CreateTableCall.toOp() and AddColumnCall.toOp().
planner-recipes and planner-strategies: typed DDL for temp-default path
packages/3-targets/3-targets/postgres/src/core/migrations/planner-recipes.ts, packages/3-targets/3-targets/postgres/src/core/migrations/planner-strategies.ts
planner-recipes.ts builds a ddlColumn via col(...) with notNull: true and FunctionColumnDefault(temporaryDefault), lowers two contractFreeDdl.alterTable calls to obtain addColumn.sql and dropTempDefault.sql. planner-strategies.ts drops buildAddColumnSql/qualifyTableName imports and passes buildColumnSpec(...) to AddNotNullColumnDirectCall.
Remove buildAddColumnSql helper and export
packages/3-targets/3-targets/postgres/src/core/migrations/planner-ddl-builders.ts, packages/3-targets/3-targets/postgres/src/exports/planner-ddl-builders.ts
Deletes the buildAddColumnSql function body, narrows type imports to remove StorageTable, and removes buildAddColumnSql from the public re-export list.
Tests: lowering verification, DEFAULT parenthesization, and upgrade notes
packages/3-targets/3-targets/postgres/test/migrations/op-factory-call.test.ts, packages/3-extensions/pgvector/test/migrations/planner.behavior.test.ts, packages/3-targets/6-adapters/postgres/test/migrations/planner-ddl-builders.test.ts, skills/extension-author/prisma-next-extension-upgrade/upgrades/0.13-to-0.14/instructions.md
New suites verify AddNotNullColumnDirectCall and AddNotNullColumnWithTempDefaultCall lower to alter-table AST with correct pre/postchecks. pgvector behavior tests update expected SQL to parenthesized DEFAULT (...) for all data types. Removes the deleted buildAddColumnSql test suite. Upgrade instructions document the parenthesized DEFAULT behavior change.
data-transform.ts: clarifying EXISTS wrapping comments
packages/3-targets/3-targets/postgres/src/core/migrations/operations/data-transform.ts
Adds inline comments explaining that checkPlan is lowered before EXISTS/NOT EXISTS wrapping; notes that deferred-lowering is the intended fix and is out of scope. No logic changes.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

  • prisma/prisma-next#751: Directly related — introduces the adapter-based typed DDL lowering and DDL renderer changes that produce the DEFAULT (<expr>) parenthesized shape that this PR propagates into the NOT NULL temp-default migration path.
  • prisma/prisma-next#794: Related — covers the typed DDL lowering path for PostgreSQL DEFAULT literals via lowerToExecuteRequest/codec-routed defaults, which is the same infrastructure this PR builds on for FunctionColumnDefault and addColumnAction lowering.

Suggested reviewers

  • wmadden

🐇 I hopped through the migration code one day,
Where raw SQL strings used to hold sway.
Now typed DdlColumn leads the way,
With DEFAULT ('') wrapped so neat — hooray!
The rabbit says: let the adapter play! 🎉

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 45.45% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately describes the main change: converting the not-null temporary-default recipe to typed DDL and removing the buildAddColumnSql function, which aligns with the substantial refactoring across multiple files.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tml-2919-pg-typed-ddl-residual-ops

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

github-actions Bot commented Jun 16, 2026 •

Copy link
Copy Markdown

size-limit report 📦

Path Size
postgres / no-emit 158.79 KB (+0.02% 🔺)
postgres / emit 146.37 KB (+0.03% 🔺)
mongo / no-emit 78 KB (0%)
mongo / emit 72.09 KB (0%)
cf-worker / no-emit 186.2 KB (+0.02% 🔺)
cf-worker / emit 172.2 KB (+0.02% 🔺)

@pkg-pr-new

pkg-pr-new Bot commented Jun 16, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@prisma-next/extension-author-tools

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

@prisma-next/mongo-runtime

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

@prisma-next/family-mongo

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

@prisma-next/sql-runtime

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

@prisma-next/family-sql

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

@prisma-next/extension-arktype-json

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

@prisma-next/middleware-cache

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

@prisma-next/mongo

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

@prisma-next/extension-paradedb

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

@prisma-next/extension-pgvector

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

@prisma-next/extension-postgis

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

@prisma-next/postgres

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

@prisma-next/sql-orm-client

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

@prisma-next/sqlite

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

@prisma-next/extension-supabase

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

@prisma-next/target-mongo

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

@prisma-next/adapter-mongo

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

@prisma-next/driver-mongo

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

@prisma-next/contract

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

@prisma-next/utils

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

@prisma-next/config

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

@prisma-next/errors

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

@prisma-next/framework-components

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

@prisma-next/operations

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

@prisma-next/ts-render

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

@prisma-next/contract-authoring

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

@prisma-next/ids

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

@prisma-next/psl-parser

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

@prisma-next/psl-printer

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

@prisma-next/cli

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

@prisma-next/cli-telemetry

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

@prisma-next/config-loader

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

@prisma-next/emitter

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

@prisma-next/language-server

npm i https://pkg.pr.new/prisma/prisma-next/@prisma-next/language-server@840

@prisma-next/migration-tools

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

prisma-next

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

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

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

@prisma-next/mongo-codec

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

@prisma-next/mongo-contract

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

@prisma-next/mongo-value

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

@prisma-next/mongo-contract-psl

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

@prisma-next/mongo-contract-ts

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

@prisma-next/mongo-emitter

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

@prisma-next/mongo-schema-ir

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

@prisma-next/mongo-query-ast

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

@prisma-next/mongo-orm

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

@prisma-next/mongo-query-builder

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

@prisma-next/mongo-lowering

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

@prisma-next/mongo-wire

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

@prisma-next/sql-contract

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

@prisma-next/sql-errors

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

@prisma-next/sql-operations

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

@prisma-next/sql-schema-ir

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

@prisma-next/sql-contract-psl

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

@prisma-next/sql-contract-ts

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

@prisma-next/sql-contract-emitter

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

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

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

@prisma-next/sql-relational-core

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

@prisma-next/sql-builder

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

@prisma-next/target-postgres

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

@prisma-next/target-sqlite

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

@prisma-next/adapter-postgres

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

@prisma-next/adapter-sqlite

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

@prisma-next/driver-postgres

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

@prisma-next/driver-sqlite

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

commit: b427087

wmadden-electric and others added 6 commits June 16, 2026 17:26
With the not-null-temp-default recipe and AddNotNullColumnDirectCall now
on the typed AddColumn DDL path, buildAddColumnSql has no callers. Delete
it from planner-ddl-builders.ts, its export barrel, and its unit tests.
`git grep buildAddColumnSql` is now empty.

buildColumnTypeSql / buildColumnDefaultSql / renderDefaultLiteral /
buildCreateTableSql remain (still consumed by issue-planner, strategies,
and the control targets).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
The 6-line note above the `SELECT EXISTS (…)` precheck wrapper was too
dense to read at a glance. Rewrite as 4 plain lines that state exactly
why the wrapper stays raw: `checkPlan.sql` is already a lowered SQL
string by this point, and the typed `EXISTS` builder only accepts a
pre-lowering query node. Typing the wrapper would need new AST
substrate (raw-subquery-as-EXISTS-source); tracked separately.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
The previous comment misdiagnosed it as missing AST substrate; the real
cause is the factory lowering the user check plan before the wrapper can
see the typed query node. Fix is to rewrite the factory to defer
lowering, not grow substrate.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
The slice spec required the recipe's SET-NOT-NULL and DROP-DEFAULT
steps to compose typed nodes, not raw fragments. NOT NULL was folded
into the typed ADD COLUMN (`notNull: true` on the `DdlColumn`), but
the DROP DEFAULT step had stayed raw:

    sql: `ALTER TABLE ${qualified} ALTER COLUMN ${quoteIdentifier(columnName)} DROP DEFAULT`

`dropDefault` in `operations/columns.ts` did the same — the typed
`AlterTableAction` it was supposed to compose didn't exist (only
`AddColumnAction` did), so both call sites open-coded the SQL.

Factor a `DropDefaultAction` out of the implementation:

- `nodes.ts`: new `DropDefaultAction extends AlterTableAction` carrying
  `columnName`; `AlterTableActionVisitor.dropDefault` arm;
  `AnyAlterTableAction = AddColumnAction | DropDefaultAction`.
- `contract-free/ddl.ts`: new `dropDefaultAction(columnName)` builder.
  Exported via `exports/contract-free.ts` and `exports/ddl.ts`.
- `pgRenderAlterTable`'s visitor gets a `dropDefault` arm emitting
  `ALTER COLUMN "<name>" DROP DEFAULT` — joined with the
  `quoteQualifiedTable(node.table)` prefix this is byte-identical
  to the prior raw fragment.
- `planner-recipes.ts` recipe's second execute step: lowers
  `contractFreeDdl.alterTable({ table: namespace.qualify(tableName),
  actions: [contractFreeDdl.dropDefaultAction(columnName)] })`
  through the adapter — no more inline `qualified` / `quoteIdentifier`
  composition.
- `operations/columns.ts` `dropDefault` op: same conversion.

`git grep "ALTER COLUMN .* DROP DEFAULT" packages/3-targets/3-targets/postgres/src/core/migrations/`
is now empty. Byte-parity verified: pgvector `planner.behavior.test.ts`
DROP DEFAULT assertion still passes byte-identical; `pnpm fixtures:check`
clean; `pnpm test:integration` 1089/1089.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Slice spec Done condition #3 required deleting any
`planner-ddl-builders.ts` / `operations/*.ts` PG builder left with no
callers. `buildCreateTableSql` had been callerless since the
`CreateTableCall.toOp` conversion routed CREATE TABLE through the
typed `PostgresCreateTable` DDL node — only its own definition, its
barrel re-export, and its self-test survived. Delete all three:

- the function in `core/migrations/planner-ddl-builders.ts`
- its re-export from `exports/planner-ddl-builders.ts`
- its describe block (and the now-unused `StorageTable` + `buildCreateTableSql`
  imports) in `adapter-postgres/test/migrations/planner-ddl-builders.test.ts`
  — file kept (still tests `buildColumnTypeSql` / `buildColumnDefaultSql`
  / `renderDefaultLiteral`).

`git grep buildCreateTableSql` is now empty. `buildColumnTypeSql` /
`buildColumnDefaultSql` / `renderDefaultLiteral` stay (still consumed
by `issue-planner`, `planner-strategies`, the recipe, and the SQLite
target / Postgres control target).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…coverage

The PR touches `packages/3-extensions/pgvector/test/migrations/planner.behavior.test.ts`
— the recipe's ADD COLUMN execute step now routes through the typed
`FunctionColumnDefault`, which emits `DEFAULT (...)` (parenthesized) instead
of the prior `DEFAULT ...`. Semantically identical in Postgres; the
parenthesization is the natural form for an `OperationExpr`-shaped default.

This is a substrate diff in `packages/3-extensions/`, so the
`record-upgrade-instructions` skill's coverage gate
(`pnpm check:upgrade-coverage --mode pr`) requires a corresponding per-PR
declaration in the extension-author skill's in-flight `instructions.md`. The
diff is genuinely incidental for extension authors (test-only assertion
update; no extension-author API, runtime, or contract-shape change), so per
the skill spec it gets recorded as an HTML comment in the body — matching
the established convention for incidental diffs (TML-2918, TML-2916,
TML-2867, TML-2859, etc.) and the spec's guidance that
"consumers do not need to take any action" prose is a defect in active
entries.

No `changes[]` entry, no consumer-facing prose, no script. The existing
populated `changes:` block stays intact.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@wmadden-electric
wmadden-electric force-pushed the tml-2919-pg-typed-ddl-residual-ops branch from 855e696 to 87fb912 Compare June 18, 2026 12:37
wmadden-electric and others added 6 commits June 18, 2026 14:44
Main shipped the 0.14.0 publish bump (#843) and several follow-ups
(TML-2916 #838, TML-2503 #839, TML-2787 #683, TML-2893 #849, ci-fix
#847) while slice 1 was in review. Merge to pick them up.

Resolution:
- `skills/extension-author/.../0.13-to-0.14/instructions.md` — union of
  the slice's TML-2919 entry and main's TML-2916 entry as two distinct
  HTML-comment blocks, matching the file's per-ticket convention.
  Per the skill spec's rebase scenario (lines 122-130): existing entries
  in the just-shipped 0.13-to-0.14 directory may stay in place; we do
  not relocate the TML-2919 entry to 0.14-to-0.15.
- Lockfile + example fixtures + apps + all other non-slice files —
  take main's side cleanly (the branch hadn't touched them; auto-merge
  resolved to main's content). `pnpm install` confirms the lockfile is
  consistent.
- No `src/` conflicts — only the one instructions.md conflict above.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Main moved 8 commits ahead since the previous merge (43cb873). The
new commits are language-server / PSL formatter / browser playground /
M:N PSL authoring + SQLite-demo work, plus the language-server fix
PRs. None touch the slice's `packages/3-targets/3-targets/postgres/src/`
or `packages/3-targets/6-adapters/postgres/src/` files.

Resolution: no conflicts — pure additive auto-merge. The auto-merged
`skills/extension-author/.../0.14-to-0.15/instructions.md` got main's
TML-2787 update plus our existing TML-2919 entry, both as discrete
HTML-comment blocks (same per-ticket convention as the rest of the
file). Lockfile took main's side; `pnpm install` confirms.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…postgres operations/shared.ts

Pre-existing dead code stranded by TML-2754 (#751): the postgres
migration `operations/shared.ts` `ColumnSpec` interface and
`renderColumnDefinition` function have no callers — only their own
definitions. (SQLite has its own `renderColumnDefinition` /
`SqliteColumnSpec` with live callers in its `operations/tables.ts`;
those are untouched.) Removing them also strands the `quoteIdentifier`
import (its only use was inside `renderColumnDefinition`), so that
import is dropped too. `ForeignKeySpec`, `step`, `targetDetails`, and
`Op` stay (live).

The `codecs.ts` module JSDoc `{@link ColumnSpec}` referred to the
framework `ColumnSpec` (from `@prisma-next/framework-components`, the
return type of the framework `column()` packager) — not the deleted
migration-local one. Reworded to "framework `ColumnSpec`" (plain
code-span) so a cold reader can't conflate it with the now-deleted
local type; the symbol was never imported into this file's scope, so
the `@link` resolved loosely anyway.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…ings still raw)

Add a docblock above the `AnyAlterTableAction` union explaining why it
is intentionally partial: only AddColumn and DropDefault are converted
to typed DDL actions so far; SetDefault / SetNotNull / DropNotNull /
AlterColumnType remain raw-SQL builders in `operations/columns.ts` until
Phase 2 of the typed-ddl-migration-ops project ports them.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
… TML-2927 exit for bound-schema.ts

Rewrite the slice spec's "Out of scope" so a cold reader sees the full
story behind `bound-schema.ts`: (1) the in-review polymorphism spike —
`schemaForBuilder()` then polymorphic `qualify()` — and that both were
reverted (commits cadcc53 + a174ecb) as scope creep belonging in its
own slice; (2) the TML-2927 exit condition — when typed `PostgresTableRef`
lands end-to-end, `bound-schema.ts` is deleted and callers compose the
qualified reference through the ref.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Main moved 2 commits ahead (language-server PSL symbol-table
diagnostics #862, a zsh :agent-script fix #842). Neither touches the
slice's postgres target/adapter source. Clean auto-merge, no conflicts,
no src/ conflicts. Lockfile matches main; pnpm install reconciles.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
wmadden-electric added a commit that referenced this pull request Jun 24, 2026
Lands in projects/typed-ddl-migration-ops/ (the successor project owning
TML-2923) instead of an invented docs/architecture docs/projects/
subdirectory. The successor project's workspace currently lives on the
in-flight TML-2919 branch (PR #840); when it merges this file lives
alongside its spec.md/plan.md as the substrate the ADR slice absorbs.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…ocblock

The docblock named "Phase 2 of the typed-ddl-migration-ops project" — a
transient project/phase reference banned by the
`no-transient-project-ids-in-code` rule. Keep the technical content (the
typed-DDL typology gap: which ALTER subactions are converted vs. still
raw), drop the project/phase attribution.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@wmadden-electric
wmadden-electric added this pull request to the merge queue Jun 24, 2026
Merged via the queue into main with commit 78c39f4 Jun 24, 2026
20 checks passed
@wmadden-electric
wmadden-electric deleted the tml-2919-pg-typed-ddl-residual-ops branch June 24, 2026 16:32
paulwer pushed a commit to paulwer/prisma-next that referenced this pull request Jul 12, 2026
…substrate; delete workspace (prisma#867)

## Linked issue

Close-out of [Marker/ledger via typed query
AST](https://linear.app/prisma-company/project/markerledger-via-typed-query-ast-dc62ab25d151).
Phase-2 op porting + the project's deferred ADR migrate into the new
project [Typed DDL migration ops — complete the
conversion](https://linear.app/prisma-company/project/typed-ddl-migration-ops-complete-the-conversion-9a86e44d4c38)
(TML-2919/2920/2921/2922/2923/2925/2927/2866).

## At a glance

```
137 files changed, 9067 deletions(-)
```

Removes `projects/migrate-marker-ledger-to-typed-query-ast-commands/`
after the final retro, and migrates the durable design notes (the seven
design principles, the DDL visitor + dispatch model, the table-level
constraint shape, the codec-handling split, the planner-lowering
mechanism, the Mongo runner-boundary lowering) into the successor
project's workspace as draft material for **TML-2923**'s ADR. No
source-code changes. External-reference scan was clean before the
delete.

The design notes land at
[`projects/typed-ddl-migration-ops/typed-ddl-design-notes.md`](projects/typed-ddl-migration-ops/typed-ddl-design-notes.md)
— the workspace of the successor "Typed DDL migration ops" project,
whose `spec.md`/`plan.md` arrive on `main` with PR
[prisma#840](prisma#840) (in flight). The
notes are voice-rewritten to strip the project-shaping framing (the
close-out workflow's Step 4.5 disposition) and banner-marked as
draft-for-TML-2923 — its ADR slice absorbs/replaces this file when it
lands.

## Decision

Project closes; workspace is deleted. The project's DoD is met or
explicitly-deferred-with-ticket:

1. All 11 slices merged.
2. Final retro recorded (commit `36279033f` immediately preceding the
delete).
3. Long-lived methodology — the seven design principles + the
DDL-as-target-contributed-AST model + the table-constraint shape +
codec-handling split + planner lowering mechanism — migrated to the
successor project's workspace as draft material that TML-2923's ADR
absorbs. The canonical ADR ("DDL as a target-contributed query-AST kind
+ adapter DDL-lowering seam") + Adapters & Targets / Migration System
subsystem-doc updates are owned by TML-2923 in the successor project,
where the dust from Phase-2's remaining design decisions has to settle
first.
4. No external references to the project dir; nothing to re-point or
remove.

## Project DoD verification (acceptance criteria in
[spec.md](https://github.com/prisma/prisma-next/blob/fbcda64af/projects/migrate-marker-ledger-to-typed-query-ast-commands/spec.md))

| AC | Status | Evidence |
|---|---|---|
| Team-DoD floor | ✅ met | repo-wide gates green on every merged slice;
Linear close-out via this PR; ADR audit covered by AC prisma#9 (deferred) |
| SQL query AST represents `CREATE TABLE` + `CREATE SCHEMA` as
target-contributed nodes | ✅ met | Slice 1 (TML-2761, foundational) —
merged |
| All in-scope marker/ledger ops execute via `adapter.lower()` → driver;
zero `db.collection()` in `marker-ledger.ts` | ✅ met | Slice 2 (TML-2753
SQL) + Slice 3 (TML-2825 Mongo) — both merged |
| Each family's marker CRUD behind one control-adapter SPI; duplicate
read paths + `parseContractMarkerRow` + raw-SQL write builders collapsed
| ✅ met | TML-2753 outcome (sql-marker-ops-through-adapter) |
| `SqlControlAdapter` exposes marker-write methods symmetric with
`MongoControlAdapter` | ✅ met | TML-2753 |
| Contract-free construction surface per family; no in-scope op
hand-builds nodes by object literal or concatenates raw SQL | ✅ met |
TML-2761 (SQL DDL surface) + TML-2825 corrective round 2 (Mongo).
Phase-2 op-porting tracked by TML-2919/2920/2921/2922 in the successor
project. |
| Two `as` casts in Mongo `marker-ledger.ts` eliminated; cast ratchet
not regressed | ✅ met | TML-2825 |
| Invariant-merge converges on accumulate-dedupe across PG + SQLite;
test pins for both dialects | ✅ met | TML-2753 |
| Migration planner adopts typed AST across all three targets (or
residual deferred with tracked follow-ups) | ✅ met | Phase 1 closed:
Slice 5 SQLite ([prisma#768](prisma#768) /
TML-2859), Slice 7 PG ALTER
([prisma#813](prisma#813)), Slice 6 Mongo
([prisma#816](prisma#816) / TML-2888).
Residual op-porting deferred to the successor project. |
| ADR "DDL as a target-contributed query-AST kind + adapter DDL-lowering
seam" + subsystem-doc updates (Adapters & Targets, Migration System) | 🟡
partially met | Durable design notes migrated to
[`projects/typed-ddl-migration-ops/typed-ddl-design-notes.md`](projects/typed-ddl-migration-ops/typed-ddl-design-notes.md)
as draft material; canonical ADR + subsystem-doc updates owned by
**TML-2923** in the successor project, where the dust from Phase-2's
remaining design decisions has to settle first. |

## Slices merged in this project

| Slice | Linear | PR |
|---|---|---|
| `ddl-in-query-ast` (foundational) | TML-2761 | merged |
| `sql-marker-ops-through-adapter` | TML-2753 | merged |
| `mongo-marker-ledger-through-adapter` | TML-2825 | merged |
| `planner-create-table-adopts-ddl-ast` | TML-2754 |
[prisma#751](prisma#751) |
| `codec-routed-ddl-defaults` | TML-2867 |
[prisma#794](prisma#794) |
| `sqlite-create-table-adoption` (Phase 1) | TML-2859 |
[prisma#768](prisma#768) |
| `pg-add-column-pioneer` (Phase 1) | — |
[prisma#813](prisma#813) |
| `mongo-planner-create-collection-and-index-adoption` (Phase 1) |
TML-2888 | [prisma#816](prisma#816) |
| `typed-migration-verification-queries` | TML-2889 |
[prisma#825](prisma#825) |
| `un-namespaced-pg-defaults-to-public` | TML-2916 |
[prisma#838](prisma#838) |
| `pg-addcolumn-opid-and-codecref-roundtrip` | TML-2918 |
[prisma#837](prisma#837) |

## What follows in the successor project

[Typed DDL migration ops — complete the
conversion](https://linear.app/prisma-company/project/typed-ddl-migration-ops-complete-the-conversion-9a86e44d4c38)
owns:

- **TML-2919** (in flight as
[prisma#840](prisma#840)) — PG: remaining
raw-SQL op-builders → typed DDL; delete `buildAddColumnSql`.
- **TML-2920** — PG: model `CREATE EXTENSION` as first-class entity
kind.
- **TML-2921** — SQLite: convert op execute steps to typed DDL.
- **TML-2922** — SQLite: `RecreateTable` + AST growth (`CASE WHEN`,
row-tuple `IN`).
- **TML-2866** — SQLite inline-autoincrement: stop smuggling column
options through `DdlColumn.type`.
- **TML-2923** — ADR + subsystem docs (the deferred AC prisma#10 from this
project).
- **TML-2925** — Rewrite `dataTransform` op factory: defer lowering,
type the EXISTS wrapper.
- **TML-2927** — Introduce `PostgresTableRef` end-to-end (typed table
refs).

## Reviewer notes

- **Deletion is the only behavioral change** — 56 files removed, 5087
deletions, zero additions outside the final retro. Source code,
fixtures, examples, and tests are untouched.
- **External-reference scan was empty** before delete (`rg -l
"projects/migrate-marker-ledger-to-typed-query-ast-commands/" --glob
'!projects/migrate-marker-ledger-to-typed-query-ast-commands/**' --glob
'!.git/**'` returned no matches). No links to re-point.
- **The two commits are intentionally split** (`docs(marker-ledger):
final close-out retro` then `chore: close out … — delete workspace`) so
the final retro is preserved as a tracked commit on `main` for
archeology if anyone later asks "how did Phase 2 get extracted out
cleanly?"
- **The migrated doc is *draft material*, not a finished ADR.** The
design notes capture the steady-state architecture (the principles, the
visitor/dispatch model, the constraint shape, the codec split, the
lowering mechanism); they live in the successor project's workspace
alongside its `spec.md`/`plan.md`, where TML-2923's ADR slice
absorbs/replaces it. Writing the canonical ADR here, before the
remaining Phase-2 design decisions (TML-2919/2920/2921/2922) land, would
produce a doc that drifts within weeks.
- **The doc lands on `main` before the successor project's workspace
does** (TML-2919/prisma#840 also creates `projects/typed-ddl-migration-ops/`
but is in flight). If this PR merges first, my commit creates the dir;
if prisma#840 merges first, my file lands next to its spec/plan. Either order
works.

## Testing performed

- Worktree gates not re-run for a delete-only PR; the merged slices each
shipped with their own gate runs.
- `rg` reference scan confirmed pre-delete.

## Skill update

n/a — internal project workspace removal.

## Checklist

- [x] All commits signed off (DCO).
- [x] Scoped to one logical concern (project close-out).
- [x] Tests are updated — `n/a` (delete-only, no behavioral change).
- [x] PR title in `<TICKET-or-scope>: <sentence-case title>` form.
- [x] **Skill update** filled in (`n/a`).

---------

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Co-authored-by: Claude Sonnet 4.6 <[email protected]>
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