docs: correct 45 pages that the latest ORM, prisma CLI and Composer releases made false #8958
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #8958"
general
weight: 0.35
wmadden-electric
Eight framework guides tell readers who use MongoDB that their first deploy to Prisma Compute copies
MONGODB_URLfrom their shell:That stopped being true in Composer 0.39, the release of Prisma's deploy tool that
prisma deployruns. A deploy now never copies a variable from your shell: the first deploy creates the project on Prisma Compute, fails, and prints the command that sets the variable. A reader who follows the guide today sees their deploy fail at a step the page says just works. The guides now give the steps that work:This pull request makes 45 docs pages match the releases published today. On each, a sentence became false when a release changed the behaviour, or a workaround for a Prisma tool defect became unnecessary when a release fixed the defect. It does not cover two things readers still hit, which need a rewrite and come next (see the last section): ten Composer pages still use a variable API that Composer 0.40.0 removed, and the Compute guide pins package versions that Prisma Compute's setup now refuses.
Why these passages, and how they were found
The Prisma docs do not work around defects in Prisma's own tools: when a tool misbehaves, the tool gets fixed, and the docs describe it working. So any workaround still on a page has to go once a release contains the fix, and any sentence about a tool's behaviour has to change when a release changes that behaviour. A docs audit listed every such passage on 22 November. Its list lives on the branch of prisma/web#8243, a draft pull request used as a working document, which is never merged.
prisma/web#8946, merged on 26 November, checked the audit's workaround entries for the ORM, the
prismaCLI andcreate-prismaagainst their releases. This pull request checks everything else on the list:Five review agents each took a share of the entries. They checked them against the published packages: the ORM packages (
@prisma/orm-) at8.0.0-rc.25, theprismaCLI at8.0.0-rc.36(the CLI and the ORM packages are versioned separately), Composer0.40.0,create-prisma0.14.10, Studio0.36.0and the local Postgres server@prisma/dev0.25.2. For the hosted services they read prisma/pdp-control-plane, the backend for Compute, the Console and Prisma Postgres, at the commit deployed to production on 27 November. They read the code at each release tag. Where code did not settle it, they ran the published packages locally; that covered every item marked "reproduced" below. Nothing was deployed. So the lead example comes from Composer's code and its own deploy guide, which says "A new app's first deploy creates its project, then stops at this step if a service needs a variable". I re-checked every changed claim against those sources. The agents' findings, one section per entry, are indocs/orm-docs-audit/release-check-2026-11-28/on the branch of prisma/web#8243.Changes that are judgment calls
These go beyond correcting a fact, so they are worth a look on their own:
npx prisma@7 devonlocal-development/app-development.mdx. The page started a local database withnpx prisma dev, but in the Prisma ORM 8 CLI that command runs a Composer app. The page now uses the Prisma ORM 7 CLI, aslocal-development/postgres.mdxalready does, and says why.$extendsonorm/release-status.mdx. The page listed it as "not available yet". The page it links to, "Coming from Prisma ORM 7", says$extendswill not be added and is replaced by middleware and custom collections, so the list now says that.ai/prompts/prisma-7.mdx), about a mapped-enum change and its "known bug", is gone because Prisma ORM 7.3.0 reverted the change (checked withprisma@7.10.1 generate).effectconflict section stays, with a new symptom. Composer needs one exact version of theeffectlibrary; a second copy in the app breaks it. That still happens, and the override the docs give still fixes it, so the section stays. But the symptom moved (reproduced):prisma.config.tsnow loads, andprisma devorprisma deployfails when it starts Alchemy, the infrastructure library Composer runs, withDEV.CONVERGE_FAILED. The section is renamed "When dev or deploy fails on an effect version conflict", and the four pages that link to it are updated.Corrections to statements that became false
Paths are under
apps/docs/content/docs/.Composer and Prisma Compute
guides/frameworks/(Astro, Elysia, Hono, NestJS, Next.js, Nuxt, SvelteKit, TanStack Start): theMONGODB_URLsteps above, each with its own project name.cli/global-flags.mdxsaidprisma deployprints no machine-readable lines when its output is piped. Since Composer 0.37 it prints one tab-separated line per deployed resource.composer/core-concepts.mdxsaid that when a deploy fails partway, resources it already created are lost to both a retry and a destroy. Since prisma/composer#367 the next deploy finds and uses them; only a production destroy still misses them, so the page says to deploy again before destroying production.(index)/full-stack-tutorial.mdxgave "a deploy from a different checkout" as a cause of the error a deploy raises when it finds an existing project it cannot take over (HostedStateBootstrapError). A deploy's record of what it created is kept on Prisma Compute, so another checkout deploys normally.guides/compute/deploy-existing-app.mdxgave Node.js 24.11 as the minimum. Composer'senginesfield allows 22.18, as every other Composer page says.compute/deploy-on-push.mdxandcompute/github.mdxsaidprisma git connectalways needs an interactive terminal. Only installing the GitHub App does, and the command prints the install URL (prisma-cli rc.36 source).ORM 8.0.0-rc.25
db migrate, also left out MySQL.orm/release-status.mdxlisted "most nested writes" as missing. Most shipped in rc.24 and rc.25; nestedupsertand relationsetare what is left.orm/supported-databases.mdxsaid four MySQL limits are all "not supported yet". Only row locks andLATERALjoins are;RETURNINGand skipping rows that collide with a unique constraint are refused for good, and the page says why.orm/migrations/the-migration-graph.mdx: whendb migratereportsMIGRATION.PATH_UNREACHABLEbecause no migration leads to the target, the page said to plan a migration from the database's current state. If the database is behind the migration history, that starts a second line of history beside the first (reproduced). Since rc.25 the command the error prints plans from the end of the history, so the page now says to run it.orm/contract-authoring/typescript-schema-builder.mdx: a repeatedmapnow fails withCONTRACT.VALIDATION_FAILED, notCONTRACT.SOURCE_LOAD_FAILED(reproduced).guides/making-guides.mdx:orm initadds"type": "module"only whenpackage.jsonlists no dependencies (reproduced).cli/migration-plan.mdxandcli/db-update.mdxdescribed MySQL and MongoDB behaviour as "as it was before rc.25". They now say directly that a changed@@mapdrops the table and creates an empty one.Prisma Postgres, the Console, and Prisma ORM 7
local-development/postgres.mdxsaid recentprismaversions recover on their own from a lock a crashed local server left behind. The fix is in@prisma/dev0.25, which no Prisma ORM 7 release ships, so the claim is gone and the recovery steps stay. The page also said the local server accepts one connection at a time. It accepts many, but they share one database session, so one client's open transaction makes the others wait (reproduced).console/more/support.mdxlists what blocks deleting an account. It was missing being the only Admin of a workspace that has other members (prisma/pdp-control-plane#5926).Workarounds the releases made unnecessary
composer/getting-started.mdx: a Bun workspace no longer needsalchemyand@prisma/devas direct dependencies (reproduced on Composer 0.40.0).guides/compute/deploy-existing-app.mdx:arktypeno longer needs pinning to Composer's version; a plain install gives one copy (reproduced).guides/deployment/pnpm-workspaces.mdxandturborepo.mdx: pnpm blocks dependency build scripts until you allow them, and the pages allowed three. Onlyesbuildstill has one, so the other two go (reproduced with pnpm 12 andprisma@8.0.0-rc.36). The Turborepo agent prompt also drops aprisma@latestinstall thatorm initalready does.guides/integrations/embed-studio.mdx:@prisma/studio-core0.36.0 installs without--force(reproduced).compute/deploy-on-push.mdx:cloud-deploy-action@v1now points at v1.11.0, past the releases that called removed commands.compute/github.mdx: when a project is deleted, the backend now archives its GitHub link, so the page keeps only the case where you lack access to the other project.Not in this pull request
envSecret()andenvParam()in favour of declaring variables withvariable()(prisma/composer#431). Ten pages still use them, and several still say a deploy copies secrets from the shell.guides/compute/deploy-existing-app.mdxand the Prisma 7 upgrade guides also pinprismarc.27,@prisma/orm-postgresrc.20 and Composer 0.34.0, and since prisma/pdp-control-plane#6141 Compute's repository setup refuses those versions. Readers following those pages fail today. Fixing them means rewriting how the pages declare variables, so it is the next pull request, opened right after this one. The framework guides in the lead example do not use the removed API.CONTRACT.INFER_COLUMN_TYPE_UNCLAIMEDentry sayscontract infercannot write a pgvector column with no dimension, which prisma/orm#30664 fixed, and three codes on it (CLI.INIT_REINIT_NEEDS_FORCE,RUNTIME.EXECUTION_RESULT_MISSING,RUNTIME.MIDDLEWARE_RESULT_MISMATCH) are raised nowhere. The page is generated fromdocs/reference/error-reference.mdin prisma/orm, so the fix belongs there. It is recorded in the audit list.@prisma/dev, none filed yet. They are recorded in the audit list on prisma/web#8243, with the rest of the check's results.Every other entry checked still describes the published release, so its passage stays.
Review
Three rounds of review agents, each new to the text and reading as a Prisma ORM 7 user, read every changed passage and reported what they could not follow. Their reports on the changed text are addressed. Their reports on older text next to it (unexplained terms such as "topology", long sentences) are left for a separate wording pass, so that this diff stays a set of corrections. The docs' internal link check and spellcheck pass.
The commits group the work by source: MariaDB and nested writes; Composer; the CLI, migrations and pnpm guides; Compute, Prisma Postgres, Studio and the Console; then the three review rounds.
Alternatives considered
effectsection. The conflict still happens with the published packages, and the override still fixes it, so readers who hit it need the section.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Documentation
Updated Composer troubleshooting for deploy-engine startup,
effectversion conflicts, and recovery after interrupted deployments.Clarified MongoDB environment-variable setup for production and preview deployments across framework guides.
Expanded MariaDB coverage across ORM features, migrations, and database support.
Updated CLI guidance for deploy output, database updates, and migration planning, including destructive mapping changes.
Clarified GitHub repository access requirements, workspace deletion restrictions, and local database recovery.
Updated Prisma Postgres backup availability information, Node.js requirements, package build settings, and local development instructions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->