docs(guides): the SvelteKit guide deploys to Prisma Compute #8892
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.71) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.71 · 500 lines diff across 6 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.372
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.071
Real PR Conversation Timeline
1 comments
"Review active on #8892"
general
weight: 0.35
wmadden-electric
The
sveltetemplate ofcreate-prismadeploys to Prisma Compute. One real deploy, run for this pull request:Until now the SvelteKit guide stopped at a local run, and three places on the site said SvelteKit could not be deployed. Nobody had tried it. This pull request makes the site say what the deploy showed.
What changes
guides/frameworks/sveltekit.mdxgains a "Deploy to Prisma Compute" section with the output above, in the same shape as the other framework guides. "Change the schema" now says a redeploy applies the new migration before the new version starts; the deploy log of a second deploy with an added column confirmed that order. The agent prompt gains a deploy step.(index)/index.mdxand(index)/prisma-orm/index.mdxno longer exclude SvelteKit from deploying; Deno stays excluded. The prompt for porting an existing app names what a SvelteKit service needs:@sveltejs/adapter-nodeand the directory form of thenodebuild, because the single-file form copies onlybuild/index.js, which re-exports from files that would be missing.(index)/full-stack-tutorial.mdxno longer says SvelteKit apps do not deploy, and says what an existing SvelteKit app needs.MONGODB_URLtoo, that later deploys keep the value the first deploy stored, and how to change it withprisma project env update.HostedStateBootstrapError. The old example for that error, a project "left behind by a different checkout", was wrong: deploy state is stored on the platform, and a fresh checkout deploys.How it was checked
curlcheck, a schema change with a redeploy, and the deletion of the test project were run withcreate-prisma0.14.8.create-prisma0.14.8 templates and theprismaand@prisma/composersources.pnpm lint:links,pnpm lint:versionsandpnpm lint:spellcheckpass.Not in this pull request
Three defects in the
sveltetemplate are recorded forcreate-prisma: its.gitignoredoes not ignorebuild/or.svelte-kit/, itstsconfig.jsonmakes SvelteKit print atsconfig_invalidwarning, and it pinsprismaone release behindlatest.Agent: gagarin-12
🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Documentation
Added SvelteKit deployment guidance, including Node adapter setup, build configuration, migration behavior, and live-app verification.
Clarified that
MONGODB_URLis needed for local runs and deployments, how its value is stored and updated, and when updates take effect.Explained how module names and
--namedetermine which project deployments update, and how to address hosted-state verification errors.<!-- end of auto-generated comment: release notes by coderabbit.ai -->