Skip to content

docs(compute): add monorepo deployment guide#8074

Draft
AmanVarshney01 wants to merge 2 commits into
mainfrom
aman/docs-compute-monorepos
Draft

docs(compute): add monorepo deployment guide#8074
AmanVarshney01 wants to merge 2 commits into
mainfrom
aman/docs-compute-monorepos

Conversation

@AmanVarshney01

@AmanVarshney01 AmanVarshney01 commented Jul 16, 2026

Copy link
Copy Markdown
Member

Summary

  • add a user-facing guide for configuring and deploying multiple Compute apps from one monorepo
  • document per-target builds, directory inference, deploy-all behavior, failure handling, and GitHub fan-out
  • correct the CI example to select prisma.compute.ts targets positionally and use non-conflicting project/auth environment variables
  • centralize the monorepo workflow on the new guide and replace duplicate examples across Configuration, GitHub, FAQ, limitations, CLI reference, and the main deploy guide with contextual links
  • add the guide to the Compute navigation

Why

The configuration reference described multi-app targets, but developers did not have an end-to-end workflow showing where the root config belongs, how to verify each app, or how single-target and all-target deploys differ. The same workflow was also repeated across several pages, making it easier for examples to drift. This change gives the workflow one canonical home and links to it from related reference and onboarding pages.

Verification

  • manually built Next.js and Hono targets with @prisma/cli@3.0.0-beta.28
  • verified target inference and served the Hono target locally through app run
  • verified the detailed apps config and positional target commands are centralized on the monorepo page
  • pnpm --filter @prisma/cli test -- compute-config.test.ts deploy-plan.test.ts app-local-dev.test.ts app-build.test.ts
  • bun test sdk/test/config.test.ts sdk/test/workspace.test.ts sdk/test/nextjs-build.test.ts
  • pnpm --filter @pdp/build-runner test --run e2b/resolveStrategy.test.ts build-jobs/fanOutMultiAppBuild.test.ts
  • pnpm --filter docs types:check
  • pnpm --filter docs lint:links
  • targeted CSpell on the changed Compute docs

@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment Jul 16, 2026 11:47am
docs Ready Ready Preview, Comment Jul 16, 2026 11:47am
eclipse Ready Ready Preview, Comment Jul 16, 2026 11:47am
site Ready Ready Preview, Comment Jul 16, 2026 11:47am

Request Review

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 83b9799e-df17-43ef-a6d0-ee455aeb2417

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

🍈 Lychee Link Check Report

85 links: ✅ 5 OK | 🚫 0 errors | 🔀 3 redirects | 👻 80 excluded

✅ All links are working!


Full Statistics Table
Status Count
✅ Successful 5
🔀 Redirected 3
👻 Excluded 80
🚫 Errors 0
⛔ Unsupported 0
⏳ Timeouts 0
❓ Unknown 0

@argos-ci

argos-ci Bot commented Jul 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Jul 16, 2026, 11:52 AM

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