← Back to Pull requests

docs: correct 45 pages that the latest ORM, prisma CLI and Composer releases made false #8958

Closed
unknown closed this pull request without merging on Nov 28, 2026 21:00 UTC
View on GitHub
unknown unknown commented on Nov 27, 2026 22:42 UTC
Author

Eight framework guides tell readers who use MongoDB that their first deploy to Prisma Compute copies MONGODB_URL from their shell:

The first deploy copies the value to your project on Prisma Compute, and the deployed app reads it from there.

That stopped being true in Composer 0.39, the release of Prisma's deploy tool that prisma deploy runs. 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:

1. Deploy once. The first deploy creates the project, then fails with an error that prints the command that sets the variable.
2. With MONGODB_URL exported, run `npx prisma project env add MONGODB_URL --project my-astro-app --role production`.
3. Deploy again.

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 prisma CLI and create-prisma against their releases. This pull request checks everything else on the list:

  • the workarounds for Composer, Prisma Compute, the Prisma Console, Prisma Postgres, Studio and Accelerate;

  • every sentence that says a feature, including an ORM feature, is "not available yet";

  • the entries the audit could not classify as a defect or designed behaviour.
  • Five review agents each took a share of the entries. They checked them against the published packages: the ORM packages (@prisma/orm-) at 8.0.0-rc.25, the prisma CLI at 8.0.0-rc.36 (the CLI and the ORM packages are versioned separately), Composer 0.40.0, create-prisma 0.14.10, Studio 0.36.0 and the local Postgres server @prisma/dev 0.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 in docs/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:

  • Point-in-time recovery. Five pages said it is "coming in November 2026". It has not shipped (the restore endpoint still rejects a point-in-time source), and November ends in two days. The pages now say it is not available yet, with no date.

  • npx prisma@7 dev on local-development/app-development.mdx. The page started a local database with npx prisma dev, but in the Prisma ORM 8 CLI that command runs a Composer app. The page now uses the Prisma ORM 7 CLI, as local-development/postgres.mdx already does, and says why.

  • $extends on orm/release-status.mdx. The page listed it as "not available yet". The page it links to, "Coming from Prisma ORM 7", says $extends will not be added and is replaced by middleware and custom collections, so the list now says that.

  • Removed sections. The agent enrollment page's limitation "the MCP server does not accept agent credentials" is gone, because it has accepted them since prisma/pdp-control-plane#5524. Section 11 of the Prisma 7 upgrade prompt for AI agents (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 with prisma@7.10.1 generate).

  • The effect conflict section stays, with a new symptom. Composer needs one exact version of the effect library; 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.ts now loads, and prisma dev or prisma deploy fails when it starts Alchemy, the infrastructure library Composer runs, with DEV.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

  • The eight guides under guides/frameworks/ (Astro, Elysia, Hono, NestJS, Next.js, Nuxt, SvelteKit, TanStack Start): the MONGODB_URL steps above, each with its own project name.

  • cli/global-flags.mdx said prisma deploy prints 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.mdx said 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.mdx gave "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.mdx gave Node.js 24.11 as the minimum. Composer's engines field allows 22.18, as every other Composer page says.

  • compute/deploy-on-push.mdx and compute/github.mdx said prisma git connect always 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

  • MariaDB gained a client in rc.25 and uses MySQL's client and migration planner. Twelve pages that list which databases a feature works on now include it. Two of them, about db migrate, also left out MySQL.

  • orm/release-status.mdx listed "most nested writes" as missing. Most shipped in rc.24 and rc.25; nested upsert and relation set are what is left.

  • orm/supported-databases.mdx said four MySQL limits are all "not supported yet". Only row locks and LATERAL joins are; RETURNING and skipping rows that collide with a unique constraint are refused for good, and the page says why.

  • orm/migrations/the-migration-graph.mdx: when db migrate reports MIGRATION.PATH_UNREACHABLE because 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 repeated map now fails with CONTRACT.VALIDATION_FAILED, not CONTRACT.SOURCE_LOAD_FAILED (reproduced).

  • guides/making-guides.mdx: orm init adds "type": "module" only when package.json lists no dependencies (reproduced).

  • cli/migration-plan.mdx and cli/db-update.mdx described MySQL and MongoDB behaviour as "as it was before rc.25". They now say directly that a changed @@map drops the table and creates an empty one.
  • Prisma Postgres, the Console, and Prisma ORM 7

  • local-development/postgres.mdx said recent prisma versions recover on their own from a lock a crashed local server left behind. The fix is in @prisma/dev 0.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.mdx lists 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 needs alchemy and @prisma/dev as direct dependencies (reproduced on Composer 0.40.0).

  • guides/compute/deploy-existing-app.mdx: arktype no longer needs pinning to Composer's version; a plain install gives one copy (reproduced).

  • guides/deployment/pnpm-workspaces.mdx and turborepo.mdx: pnpm blocks dependency build scripts until you allow them, and the pages allowed three. Only esbuild still has one, so the other two go (reproduced with pnpm 12 and prisma@8.0.0-rc.36). The Turborepo agent prompt also drops a prisma@latest install that orm init already does.

  • guides/integrations/embed-studio.mdx: @prisma/studio-core 0.36.0 installs without --force (reproduced).

  • compute/deploy-on-push.mdx: cloud-deploy-action@v1 now 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

  • Composer 0.40's variable API and the Compute version pins, next. Composer 0.40.0 removed envSecret() and envParam() in favour of declaring variables with variable() (prisma/composer#431). Ten pages still use them, and several still say a deploy copies secrets from the shell. guides/compute/deploy-existing-app.mdx and the Prisma 7 upgrade guides also pin prisma rc.27, @prisma/orm-postgres rc.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.

  • The generated error reference. Its CONTRACT.INFER_COLUMN_TYPE_UNCLAIMED entry says contract infer cannot 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 from docs/reference/error-reference.md in prisma/orm, so the fix belongs there. It is recorded in the audit list.

  • Kept until proven. Composer's code suggests the rule that provision names need at least three characters no longer applies, but only a real deploy would confirm what the platform accepts, and the check deployed nothing. Two FAQ answers about switching from GitHub sign-in to email may have changed with the new sign-in service; nobody could confirm the new steps.

  • Tool defects found along the way. Five, in the ORM and in @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

  • Keep a date for point-in-time recovery. A new date has to come from the Prisma Postgres team; "not available yet" is true today.

  • Remove the effect section. The conflict still happens with the published packages, and the override still fixes it, so readers who hit it need the section.

  • Include the Composer 0.40 rewrite here. It changes how pages declare variables, not single sentences, and would double this diff; it follows as its own pull request.

  • Fix the review agents' notes on the older text too. That is wording work across 45 pages and would bury the corrections.
  • <!-- 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, effect version 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 -->

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: wmadden-electric Review duration: 1338m
    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
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%
    Repository