Skip to content

Compute GA follow-ups: docs, site, and blog fixes found while reviewing the GA post - #8435

Merged
sorenbs merged 13 commits into
mainfrom
fix/compute-ga-followups
Oct 8, 2026
Merged

sorenbs merged 13 commits into
mainfrom
fix/compute-ga-followups

Conversation

@sorenbs

@sorenbs sorenbs commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Summary

While reviewing the Prisma Compute GA post (#8433), the review agents found problems in the docs, the site, two blog posts, and two other repositories. This PR fixes the ones in this repository, one commit per item. The rest have their own PRs, linked below.

The items, and where each is fixed

# Problem Fix
1 "Deploy your first app" imports postgres from @prisma/composer-prisma-cloud (TS2305: the root doesn't export it) and never sets a region, so a first deploy stops with no deploy region is configured 3e6e17a: use rawPostgres(), point to postgres(contract) from /orm, set prismaCloud({ region }), explain PRISMA_REGION
2 The Composer SQL samples (max: 1, idleTimeout: 10) return 500 prepared statement "..." already exists under prisma dev after an idle reconnect 39168ce: add prepare: false in Databases, Deploying, and Deploy your first app
3 Compute FAQ, Known limitations, and Request timeout say Compute has no cron, while Composer ships a cron building block 425281d: Compute has no built-in cron; schedules come from Composer's cron block (a scheduler service that never scales to zero) or an external scheduler
4 The Composer overview says you don't need Composer and points to Deployments, but every path there runs Composer c1e8e05: name the Composer paths, and document the REST API path (POST /v1/services/{serviceId}/deployments, used by Alchemy) on Deployments
5 The prisma-compute agent skill teaches @prisma/cli app deploy, prisma.compute.ts, and compute:deploy, which no longer exist prisma/skills#31 rewrites the skill for the Composer surface
6 The positioning doc says Compute is in public beta with unpublished pricing, lists WebSockets and cron as supported, and says "Management API" prisma/ignite#208 corrects those facts only
7 The homepage pricing section, pricing comparison, and calculator say "data transfer included" / "No egress fees" for the whole stack; Compute bills outbound bandwidth at $0.025/GB 4e67718: scope to database data transfer, with the Markdown renditions kept in step
8 The stack launch post lists "Claude, Codex, and Composer", which now reads like Prisma Composer 05bd755: name Cursor instead
9 pris.ly/discord-compute is a 302 to the generic Discord invite, so the beta post's "prisma-compute channel" link isn't a channel link 709098e: link pris.ly/discord and name the channel in the text. Pointing the short link at the channel is a change in the pris.ly (Dub) dashboard, outside any repo

Also fixed here (found by the same reviews)

  • a06a777: rawPostgres() instead of the root postgres() in Apps and Modules, Porting an existing app, and Service input.
  • 7e9a1c5: the porting agent prompt installs prisma as a dev dependency. prisma.config.ts imports prisma/config, and without it prisma dev stops with CLI.CONFIG_UNREADABLE.
  • bd4c6a1: Deploy on push and Getting started said a deployed directory is "already linked". Only project link and project create write .prisma/local.json.
  • ab29a09: removed the PRISMA_SERVICE_ID and PRISMA_PROJECT_ID fallbacks from the service reference and Known limitations. Neither variable exists in prisma 8.0.0-rc.21.
  • f8be9ca: Known limitations now notes that a Composer deploy needs a region for a new project.

How it was checked

  • Every code and CLI claim was checked against prisma 8.0.0-rc.21 and Composer 0.28.0: package exports and tsc on the corrected samples, the CLI source for linking and environment variables, and --help.
  • The prepare: false fix was reproduced under npx prisma dev. Before it, the first request after an idle period returned 500. After it, three rounds of 20 concurrent requests, each followed by an idle period, all returned 200.
  • pnpm lint:links in apps/docs and apps/blog: 0 errors.
  • check-ai-signs.sh (what docs-prose runs) passes on every changed page.
  • apps/site tests: 126 of 126 pass, including the Markdown parity checks.

Found but not fixed here

The skills rewrite turned up more places where the docs and the CLI disagree. The CLI wins in each case:

  • Known limitations:
    • It lists an agent command group, which returns CLI.UNKNOWN_COMMAND.
    • It says unavailable logs return FEATURE_UNAVAILABLE; the CLI returns SERVICE.LOGS_FAILED / SERVICE.LOGS_INCOMPLETE.
  • Branching: it says the CLI uses the active Git branch. It uses --branch, otherwise the production branch.
  • Composer Deploying and the deploy reference: the control-API deploy / destroy snippets omit config, which is required in 0.28.0 (tsc fails).
  • Environment variables: it says rm aliases remove. The command is delete, with no aliases.
  • Domains: it uses service domain remove, and Domains and Deployments say --yes skips confirmation. The command is delete, and it needs --confirm <hostname>.
  • Version ids: ver_… in the docs, cpv_… in CLI help.
  • Streaming: Request timeout says a started streamed response isn't cut off, but the Composer package skill says the ingress buffers streamed responses. This needs a test on a deployed stage.
  • CLI top-level help (CLI repo): it says deploy builds and shows it without an entry argument.

Unrelated CI fix included

@prisma/orm-postgres and @prisma/orm-mongo published 8.0.0-rc.17 as latest on 2026-10-08, which broke pnpm --filter docs lint:versions ("Validate documentation links") on every branch, main included. One separate commit bumps the six stale 8.0.0-rc.16 references: the current-version mentions now say rc.17, and the two upgrade guides mark the version they were written against with "as of". The same commit is on #8433 and #8435, so whichever merges first carries it.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated Prisma Compute deployment guidance, including region requirements, project linking, deployment flows, and scheduler options.
    • Clarified CLI service targeting requirements and CI usage.
    • Updated PostgreSQL and Bun SQL examples, including guidance to disable named prepared statements in relevant configurations.
    • Clarified Composer deployment options and database transfer pricing details.
    • Updated Prisma Compute launch copy to list Cursor among supported coding agents.

sorenbs and others added 12 commits October 8, 2026 19:29
…ur first app"

The porting path imported `postgres` from `@prisma/composer-prisma-cloud`,
which the package root does not export (TS2305 with Composer 0.28.0).
Use `rawPostgres()`, which delivers `db.url` for the client you already
use, and point to `postgres(contract)` from `/orm` for an ORM-typed
database. The agent prompt now says the same.

The page's `prisma.config.ts` called `prismaCloud()` with no region, so
the first deploy of a new project stopped with "no deploy region is
configured". Set `region` in the sample, explain `PRISMA_REGION` as the
alternative, and name the error in the deploy step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`new SQL({ url: db.url, max: 1, idleTimeout: 10 })` in the Databases,
Deploying, and "Deploy your first app" pages fails under `npx prisma dev`:
the local Postgres shares one session across client connections, so after
the pool's idle timeout reconnects it, the first query returns
`prepared statement "..." already exists` and the request 500s.

Reproduced with prisma 8.0.0-rc.21 and Composer 0.28.0: with the docs'
options the first request after 15 seconds idle returned 500; with
`prepare: false` added, three rounds of 20 concurrent requests followed
by an idle period all returned 200.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Compute FAQ, Known limitations, and Request timeout pages said
Compute has no cron scheduling and a schedule must come from outside,
while the Composer docs ship a `cron` building block that runs a
scheduler service on Compute. Readers following one page got the
opposite advice from the other.

Say what is true on both sides: Compute itself has no built-in cron, and
a schedule comes from Composer's `cron` block, which adds a scheduler
service that never scales to zero, or from an external scheduler.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… one that doesn't

The Composer overview said "You do not need Composer to deploy to Prisma
Compute" and pointed to Deployments, but every path on that page (deploy
on push, the Console, the CLI's `deploy`) runs a Composer module, so the
two pages read as contradicting each other.

Name the paths that deploy a Composer module (the CLI's `deploy`, the
GitHub deploy action, and the Deploy Button), and add the path that
doesn't to Deployments: the REST API's
`POST /v1/services/{serviceId}/deployments`, which returns an upload URL
for a built artifact and which Alchemy uses. The endpoint is marked
experimental in the OpenAPI spec, and the page says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The homepage pricing section, the pricing comparison, and the pricing
calculator said "Unlimited data transfer included", "Data transfer
included", and "No egress fees" in a whole-stack context ("One bill, one
platform"). That holds for Prisma Postgres, which the spec table lists as
unlimited data transfer, but Prisma Compute bills outbound bandwidth at
$0.025 per GB after the Free plan's 10 GB, as the same spec table and the
Compute pricing docs say.

Say "database data transfer" and "database egress" in those places, and
keep the Markdown renditions in step with the components.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"It works with the coding agents you already use, including Claude,
Codex, and Composer" meant Cursor's Composer model. The same launch
introduced Prisma Composer, so readers can take the sentence to mean
Prisma's deploy tool. Name the product, Cursor, instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`https://pris.ly/discord-compute` is a 302 to the generic
`https://pris.ly/discord` invite, so the link text "the `prisma-compute`
channel on our Discord" promised a channel link the URL doesn't deliver.
Link the Discord invite directly and keep naming the channel in the text.

Pointing the `discord-compute` short link at the channel itself is a
change in the pris.ly (Dub) dashboard, outside this repo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ervice input

These pages imported or declared `postgres()` from
`@prisma/composer-prisma-cloud`, which the package root does not export
(TS2305 with Composer 0.28.0); `postgres` lives in `/orm` and takes a
data contract. Their examples want a plain connection, so use
`rawPostgres()`, which the root exports and which hands the service
`db.url`. The porting agent prompt now names the import too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The prompt's first step installed only the Composer packages. The
`composer` section lives in `prisma.config.ts`, which imports
`prisma/config` from the project's own `node_modules`, so an agent that
followed the prompt reached `npx prisma dev module.ts` and stopped with
`CLI.CONFIG_UNREADABLE`. Install `prisma` as a dev dependency in step 1,
as the page's Next.js section already does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploy on push (step 2) and Getting started said that a directory you
had deployed from was "already linked", so readers skipped `project link`
and then hit `PROJECT.SETUP_REQUIRED` from `git` and `service` commands.
In prisma 8.0.0-rc.21 only `project link` and `project create` write
`.prisma/local.json`; the Composer `deploy` command never does. Say so,
and keep the `project link` step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The `service` reference said `PRISMA_SERVICE_ID` is the environment
fallback for the service argument, and Known limitations told CI to set
`PRISMA_PROJECT_ID` / `PRISMA_SERVICE_ID` to override the linked
project and service. Neither variable appears anywhere in prisma
8.0.0-rc.21 or @prisma/cli-engine; the only platform id the CLI reads
from the environment is `PRISMA_WORKSPACE_ID`. Tell CI to pass
`--project` and the service name instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…roject

Known limitations said a project created without a region lands in
`us-east-1`. That matches `project create` and the REST API, where the
region is optional, but the first `deploy` of a Composer app stops with
`project "<name>" does not exist yet and no deploy region is configured`
until `prismaCloud({ region })` or `PRISMA_REGION` is set, as the
`deploy` reference says. Add that exception.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
blog Ready Ready Preview Oct 8, 2026 1:28pm UTC
docs Ready Ready Preview Oct 8, 2026 1:28pm UTC
eclipse Ready Ready Preview Oct 8, 2026 1:28pm UTC
site Ready Ready Preview Oct 8, 2026 1:28pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
handbook Skipped Skipped Oct 8, 2026 1:28pm UTC

Request Review

@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

🍈 Lychee Link Check Report

362 links: ✅ 89 OK | 🚫 0 errors | 🔀 18 redirects | 👻 273 excluded

✅ All links are working!


Full Statistics Table
Status Count
✅ Successful 89
🔀 Redirected 18
👻 Excluded 273
🚫 Errors 0
⛔ Unsupported 0
⏳ Timeouts 0
❓ Unknown 0

@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: f24d36d9-ae02-49cb-896c-51d057339b89
📥 Commits

Reviewing files that changed from the base of the PR and between e2efb6e and f8be9ca.

📒 Files selected for processing (21)
  • apps/blog/content/blog/building-the-stack-for-the-next-million-products/index.mdx
  • apps/blog/content/blog/launching-prisma-compute-public-beta/index.mdx
  • apps/docs/content/docs/(index)/prisma-compute/deploy.mdx
  • apps/docs/content/docs/cli/service.mdx
  • apps/docs/content/docs/composer/apps-and-modules.mdx
  • apps/docs/content/docs/composer/databases.mdx
  • apps/docs/content/docs/composer/deploying.mdx
  • apps/docs/content/docs/composer/index.mdx
  • apps/docs/content/docs/composer/porting-an-app.mdx
  • apps/docs/content/docs/composer/service-input.mdx
  • apps/docs/content/docs/compute/deploy-on-push.mdx
  • apps/docs/content/docs/compute/deployments.mdx
  • apps/docs/content/docs/compute/faq.mdx
  • apps/docs/content/docs/compute/getting-started.mdx
  • apps/docs/content/docs/compute/limitations.mdx
  • apps/docs/content/docs/compute/request-timeout.mdx
  • apps/site/src/components/sections/pricing-calculator.tsx
  • apps/site/src/components/sections/pricing-comparison.tsx
  • apps/site/src/components/sections/pricing-scale.tsx
  • apps/site/src/lib/markdown/home.ts
  • apps/site/src/lib/markdown/pricing.ts

Included review availability: This review used your included allowance. 3 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour.


Walkthrough

This pull request updates Prisma Compute and Composer documentation, clarifies database pricing copy across the site, and revises two blog references. The documentation covers database examples, deployment options, project and service targeting, and scheduling.

Changes

Compute and Composer documentation

Layer / File(s) Summary
Database dependency examples
apps/docs/content/docs/(index)/prisma-compute/deploy.mdx, apps/docs/content/docs/composer/apps-and-modules.mdx, apps/docs/content/docs/composer/porting-an-app.mdx, apps/docs/content/docs/composer/service-input.mdx
Examples now use rawPostgres() for database dependencies. The agent guidance also identifies postgres(contract) for typed databases.
Database client reconnection settings
apps/docs/content/docs/(index)/prisma-compute/deploy.mdx, apps/docs/content/docs/composer/databases.mdx, apps/docs/content/docs/composer/deploying.mdx
Bun SQL examples add prepare: false. The Composer guidance describes duplicate prepared-statement errors after reconnection.
First deploy region and project state
apps/docs/content/docs/(index)/prisma-compute/deploy.mdx, apps/docs/content/docs/compute/limitations.mdx
The guidance documents first-deploy region configuration, existing project region behavior, and the HostedStateBootstrapError outcome for unverifiable hosted state.
Deployment paths and version creation
apps/docs/content/docs/composer/index.mdx, apps/docs/content/docs/compute/deployments.mdx
The docs distinguish Composer deployment paths from Composer-free REST API deployments, and describe Git-push and REST API version creation.
Project linking and service targeting
apps/docs/content/docs/cli/service.mdx, apps/docs/content/docs/compute/deploy-on-push.mdx, apps/docs/content/docs/compute/getting-started.mdx, apps/docs/content/docs/compute/limitations.mdx
The docs state that service commands require a positional service target and that deploy does not link the current directory to a project.
Scheduling guidance
apps/docs/content/docs/compute/faq.mdx, apps/docs/content/docs/compute/limitations.mdx, apps/docs/content/docs/compute/request-timeout.mdx
The docs describe Composer’s cron building block and external schedulers as scheduling options, and clarify that Compute has no built-in scheduler.

Pricing copy

Layer / File(s) Summary
Database-specific pricing language
apps/site/src/components/sections/pricing-calculator.tsx, apps/site/src/components/sections/pricing-comparison.tsx, apps/site/src/components/sections/pricing-scale.tsx, apps/site/src/lib/markdown/home.ts, apps/site/src/lib/markdown/pricing.ts
Pricing copy specifies database data transfer and database egress where earlier wording referred to data transfer or egress generally.

Blog copy

Layer / File(s) Summary
Agent list and feedback link
apps/blog/content/blog/building-the-stack-for-the-next-million-products/index.mdx, apps/blog/content/blog/launching-prisma-compute-public-beta/index.mdx
One post replaces Composer with Cursor in its coding-agent list. Another links prisma-compute to the general Discord invite.

Priority: ⬇️ Low

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Possibly related PRs

  • prisma/web#8167: Updates the same deployment, CLI, Composer, and Compute documentation, including service-target, region, database, and version guidance.
  • prisma/web#8151: Updates the same CLI service, Composer deployment, database, and Compute deployment pages.

Suggested reviewers: nurul3101, gregory-boch-prisma

Merge Risk: ⚪ Minimal · up to f8be9

The reviewed documentation and copy changes do not establish a behavior that requires a pre-merge fix. The Composer examples match the package API, so the PR appears ready for normal checks.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 60.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 5 functions across 5 files. (16 skipped: … Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the pull request. It identifies Compute GA follow-up changes across documentation, the site, and blog posts.
Full details: Docstring Coverage

Explanation

Docstring coverage is 60.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 5 functions across 5 files. (16 skipped: 16 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

…c.17

`@prisma/orm-postgres` and `@prisma/orm-mongo` published 8.0.0-rc.17 as
`latest` on 2026-10-08, so `pnpm --filter docs lint:versions` fails on
every branch, main included, with six stale `8.0.0-rc.16` references.

- From scratch, the Solid Start sample output, and the Release status
  table now show 8.0.0-rc.17 (table dated 8 October 2026).
- The PostgreSQL and MongoDB upgrade guides record the version they were
  written against, so those lines now say "as of 8.0.0-rc.16", which
  the lint treats as history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

4 active and 1 inactive deployments
Preview – docs — 12b1f9a7 Deployed Oct 8, 2026 by vercel[bot]
Preview – site — 12b1f9a7 Deployed Oct 8, 2026 by vercel[bot]
Preview – blog — 12b1f9a7 Deployed Oct 8, 2026 by vercel[bot]
Preview – eclipse — 12b1f9a7 Deployed Oct 8, 2026 by vercel[bot]
Preview – handbook — 12b1f9a7 Deployed Oct 8, 2026 by vercel[bot]
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.

1 participant