Skip to content

refine: make billing section more discoverable#7869

Open
ankur-arch wants to merge 2 commits intomainfrom
ankur/DR-8250/vercel-plan-change
Open

refine: make billing section more discoverable#7869
ankur-arch wants to merge 2 commits intomainfrom
ankur/DR-8250/vercel-plan-change

Conversation

@ankur-arch
Copy link
Copy Markdown
Contributor

@ankur-arch ankur-arch commented May 5, 2026

Summary by CodeRabbit

  • Documentation
    • Added "Billing and pricing" guidance for Vercel usage and clarified upgrade steps with Marketplace/pricing context.
    • Fixed multiple typos and improved clarity across guides (environment variables, deployment, queries, transactions, raw SQL).
    • Added Neon adapter installation and integration instructions with a complete example.
    • Expanded SafeQL examples with new create/find methods and types for point-of-interest scenarios.
    • Introduced AI-safety guardrails and consent workflow for dangerous CLI actions.
    • Expanded spell-check dictionary entries.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

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

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment May 6, 2026 9:36am
docs Ready Ready Preview, Comment May 6, 2026 9:36am
eclipse Ready Ready Preview, Comment May 6, 2026 9:36am
site Ready Ready Preview, Comment May 6, 2026 9:36am

Request Review

@ankur-arch ankur-arch self-assigned this May 5, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

🍈 Lychee Link Check Report

377 links: ✅ 105 OK | 🚫 0 errors | 🔀 21 redirects | 👻 251 excluded

✅ All links are working!


Full Statistics Table
Status Count
✅ Successful 105
🔀 Redirected 21
👻 Excluded 251
🚫 Errors 0
⛔ Unsupported 0
⏳ Timeouts 0
❓ Unknown 0

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 5, 2026

Walkthrough

A set of documentation edits across the docs site: new "Billing and pricing" section for Prisma Postgres on Vercel, multiple typo and wording fixes, added examples and Prisma Client extension samples (SafeQL, Neon adapter, Deno Deploy snippet), an AI-safety consent addition to the CLI reference, and a large cspell wordlist expansion. No runtime code changes.

Changes

Docs content, examples, and guidance (multiple pages)

Layer / File(s) Summary
New guidance / Sections
apps/docs/content/docs/guides/postgres/vercel.mdx, apps/docs/content/docs/postgres/faq.mdx
Added "Billing and pricing" section to Vercel guide; FAQ lead updated to reference Vercel Marketplace integration and billing through the Vercel account.
Adapter / Integration examples
apps/docs/content/docs/orm/v6/overview/databases/neon.mdx, apps/docs/content/docs/orm/v6/prisma-client/deployment/edge/deploy-to-deno-deploy.mdx
Neon adapter: npm install instruction and PrismaNeon client instantiation example added; Deno Deploy example updated with console.log in request handler and instruction to commit changes to trigger redeploy.
Prisma Client examples & extensions
apps/docs/content/docs/orm/v6/prisma-client/using-raw-sql/safeql.mdx, apps/docs/content/docs/orm/v6/prisma-client/queries/query-optimization-performance.mdx
Added SafeQL Prisma Client extension types and two model methods (create and findClosestPoints) with raw SQL usage and mapping; updated resolver example to prefer the fluent API (findUnique(...).posts()).
Behavior / Policy docs
apps/docs/content/docs/orm/v6/reference/prisma-cli-reference.mdx
Inserted explicit AI-safety guardrail text for dangerous migrate/reset flows, requiring user-declared intent and an environment-variable based consent workflow.
Minor wording / typo fixes
apps/docs/content/docs/orm/v6/more/ai-tools/tabnine.mdx, .../dev-environment/environment-variables.mdx, .../deployment/serverless/deploy-to-vercel.mdx, .../queries/transactions.mdx, .../using-raw-sql/raw-queries.mdx, .../reference/prisma-client-reference.mdx
Multiple small textual corrections (typos, spacing) across several docs pages.
Formatting / spacing
apps/docs/content/docs/orm/v6/prisma-client/deployment/serverless/deploy-to-vercel.mdx
Adjusted blank-line spacing around a CI/CD heading.

Spell-check dictionary update

Layer / File(s) Summary
Dictionary additions
apps/docs/cspell.json
Expanded cspell words array with many new terms and identifiers (dozens of insertions) to broaden spell-check coverage.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'refine: make billing section more discoverable' directly corresponds to the main changes, which involve enhancing visibility of billing information across multiple documentation pages (Vercel guides, FAQ, CLI reference).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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

Copy link
Copy Markdown
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: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/docs/content/docs/guides/postgres/vercel.mdx`:
- Around line 64-69: The spellcheck CI is failing for the changes under the "##
Billing and pricing" section: either correct the flagged spelling/terminology in
the text (e.g., within the "Prisma Postgres" / "Vercel Marketplace" mentions and
the FAQ link text) or add any valid product terms that the linter flags to the
project spellcheck dictionary so lint:spellcheck passes; update the content
string accordingly and commit the dictionary entry if you choose the whitelist
approach.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: ccf343f4-4bc5-4520-80cc-75bacdc0dd5a

📥 Commits

Reviewing files that changed from the base of the PR and between 29f2a87 and 0e38d0b.

📒 Files selected for processing (2)
  • apps/docs/content/docs/guides/postgres/vercel.mdx
  • apps/docs/content/docs/postgres/faq.mdx

Comment on lines +64 to +69
## Billing and pricing

Prisma Postgres uses [usage-based pricing](https://www.prisma.io/pricing) based on operations and storage. The same plans and rates apply when you create a database via the Vercel Marketplace, and your Prisma Postgres usage is billed through your Vercel account.

To change your plan, see [How do I upgrade my plan if I am using Prisma Postgres via Vercel?](/postgres/faq#how-do-i-upgrade-my-plan-if-i-am-using-prisma-postgres-via-vercel) in the Prisma Postgres FAQ.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Resolve the spellcheck blocker before merge.

GitHub Actions shows lint:spellcheck failing for this PR; please fix the flagged term(s) in this docs update or add valid product terms to the project dictionary so CI can pass.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/docs/content/docs/guides/postgres/vercel.mdx` around lines 64 - 69, The
spellcheck CI is failing for the changes under the "## Billing and pricing"
section: either correct the flagged spelling/terminology in the text (e.g.,
within the "Prisma Postgres" / "Vercel Marketplace" mentions and the FAQ link
text) or add any valid product terms that the linter flags to the project
spellcheck dictionary so lint:spellcheck passes; update the content string
accordingly and commit the dictionary entry if you choose the whitelist
approach.

@argos-ci
Copy link
Copy Markdown

argos-ci Bot commented May 5, 2026

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

Build Status Details Updated (UTC)
default (Inspect) ⚠️ Changes detected (Review) 1 changed May 6, 2026, 9:43 AM

aidankmcalister
aidankmcalister previously approved these changes May 5, 2026
Copy link
Copy Markdown
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: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/docs/content/docs/orm/v6/prisma-client/using-raw-sql/safeql.mdx`:
- Line 320: Update the inline comment "// Query for closest points of interests"
to correct grammar: change "points of interests" to "points of interest" so the
comment reads "// Query for closest points of interest"; this is the comment
near the SQL/geospatial query in the safeql.mdx snippet and should be updated
where that exact comment string appears.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 84e1b9c2-3618-4907-9d0e-06b39275d4ce

📥 Commits

Reviewing files that changed from the base of the PR and between 0e38d0b and a16c3ec.

📒 Files selected for processing (12)
  • apps/docs/content/docs/orm/v6/more/ai-tools/tabnine.mdx
  • apps/docs/content/docs/orm/v6/more/dev-environment/environment-variables.mdx
  • apps/docs/content/docs/orm/v6/overview/databases/neon.mdx
  • apps/docs/content/docs/orm/v6/prisma-client/deployment/edge/deploy-to-deno-deploy.mdx
  • apps/docs/content/docs/orm/v6/prisma-client/deployment/serverless/deploy-to-vercel.mdx
  • apps/docs/content/docs/orm/v6/prisma-client/queries/query-optimization-performance.mdx
  • apps/docs/content/docs/orm/v6/prisma-client/queries/transactions.mdx
  • apps/docs/content/docs/orm/v6/prisma-client/using-raw-sql/raw-queries.mdx
  • apps/docs/content/docs/orm/v6/prisma-client/using-raw-sql/safeql.mdx
  • apps/docs/content/docs/orm/v6/reference/prisma-cli-reference.mdx
  • apps/docs/content/docs/orm/v6/reference/prisma-client-reference.mdx
  • apps/docs/cspell.json
✅ Files skipped from review due to trivial changes (4)
  • apps/docs/content/docs/orm/v6/prisma-client/using-raw-sql/raw-queries.mdx
  • apps/docs/content/docs/orm/v6/more/ai-tools/tabnine.mdx
  • apps/docs/content/docs/orm/v6/reference/prisma-client-reference.mdx
  • apps/docs/content/docs/orm/v6/more/dev-environment/environment-variables.mdx

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.

2 participants