Skip to content

Conversation

aidankmcalister
Copy link
Member

@aidankmcalister aidankmcalister commented Oct 3, 2025

Summary by CodeRabbit

  • Documentation
    • Added a new guide: “Integrate Prisma Postgres with Deno Deploy,” walking through prerequisites, project initialization, VS Code and runtime tips, creating and deploying a Deno app that uses Prisma Client, provisioning a Prisma Postgres database, schema/migrations, local testing, production build/deploy steps, example responses, and recommended next steps.
    • Updated site navigation to include the new Deno integration guide under Prisma Postgres for Platforms.

Copy link
Contributor

github-actions bot commented Oct 3, 2025

Dangerous URL check

No absolute URLs to prisma.io/docs found.
No local URLs found.

Copy link
Contributor

coderabbitai bot commented Oct 3, 2025

Walkthrough

Adds a new guide "Integrate Prisma Postgres with Deno Deploy" and updates the site sidebar to register the guide under "Prisma Postgres for Platforms." No changes to code logic or public APIs.

Changes

Cohort / File(s) Summary of Changes
Deno Deploy guide
content/800-guides/400-deno-integration.mdx
New guide describing provisioning a Prisma Postgres DB in Deno Deploy, initializing a Deno project, VS Code setup, creating a basic HTTP server, configuring Prisma (env loading, schema with Log model and Level enum, migrations), generating Prisma Client for deno runtime, persisting logs, local testing, and deployment steps.
Sidebar navigation
sidebars.ts
Added guides/deno-integration entry under Guides → Prisma Postgres for Platforms.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • nikolasburk
  • ankur-arch

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title succinctly summarizes the main change by specifying that this pull request adds a Deno Deploy integration guide, which directly reflects the new document and sidebar update introduced in the changeset. It is clear and specific, enabling teammates to quickly understand that the PR’s purpose is to introduce a guide for integrating Prisma with Deno Deploy.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch DC-5560-deno-deploy-integration-guide

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 71041fe and 8be0435.

⛔ Files ignored due to path filters (1)
  • static/img/guides/prisma-deno-integration-cover.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • content/800-guides/400-deno-integration.mdx (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • content/800-guides/400-deno-integration.mdx

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

Copy link
Contributor

github-actions bot commented Oct 3, 2025

Copy link
Contributor

github-actions bot commented Oct 3, 2025

Redirect check

This PR probably requires the following redirects to be added to static/_redirects:

  • This PR does not change any pages in a way that would require a redirect.

Copy link

cloudflare-workers-and-pages bot commented Oct 3, 2025

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8be0435
Status: ✅  Deploy successful!
Preview URL: https://0cfb3fa4.docs-51g.pages.dev
Branch Preview URL: https://dc-5560-deno-deploy-integrat.docs-51g.pages.dev

View logs

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (2)
content/800-guides/400-deno-integration.mdx (2)

58-61: Consider expanding GitHub setup instructions.

The guide mentions pushing to GitHub but doesn't provide detailed commands. Users unfamiliar with Git might benefit from explicit instructions like:

git init
git add .
git commit -m "Initial commit"
git remote add origin <your-repo-url>
git push -u origin main

82-86: Consider adding a security reminder.

While the guide instructs users to add the connection string to .env, it would be helpful to explicitly remind them to add .env to their .gitignore file to prevent accidentally committing sensitive credentials.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 09ceaf5 and 296f3b7.

📒 Files selected for processing (2)
  • content/800-guides/400-deno-integration.mdx (1 hunks)
  • sidebars.ts (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: runner / linkspector
  • GitHub Check: Check internal links
  • GitHub Check: Lost Pixel
🔇 Additional comments (3)
sidebars.ts (1)

476-476: LGTM!

The sidebar entry is correctly placed under "Prisma Postgres for Platforms" and follows the established naming convention. The path matches the new guide document.

content/800-guides/400-deno-integration.mdx (2)

124-152: LGTM! Schema configuration is correct for Deno.

The Prisma schema correctly configures:

  • provider = "prisma-client" instead of prisma-client-js
  • runtime = "deno" for Deno compatibility
  • A well-structured Log model with proper types

These changes are essential for Prisma to work correctly in the Deno environment.


227-248: LGTM! Deployment instructions are clear and correct.

The build command properly includes Prisma Client generation with the necessary permissions, and the deployment workflow is well-explained.

coderabbitai[bot]
coderabbitai bot previously approved these changes Oct 3, 2025
coderabbitai[bot]
coderabbitai bot previously approved these changes Oct 3, 2025
Copy link
Contributor

github-actions bot commented Oct 6, 2025

Images automagically compressed by Calibre's image-actions

Compression reduced images by 86.8%, saving 365.7 KB.

Filename Before After Improvement Visual comparison
static/img/guides/prisma-deno-integration-cover.png 421.2 KB 55.5 KB 86.8% View diff

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