Skip to content

docs: fix spellcheck failures from the MongoDB migration guide - #8112

Merged
ankur-arch merged 2 commits into
mainfrom
docs/mongo-guide-spellcheck
Jul 28, 2026
Merged

docs: fix spellcheck failures from the MongoDB migration guide#8112
ankur-arch merged 2 commits into
mainfrom
docs/mongo-guide-spellcheck

Conversation

@ankur-arch

@ankur-arch ankur-arch commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

The Spellcheck workflow failed on main after #8111 merged: cutover (three occurrences, including two headings) and façade were unknown words.

  • Add cutover to the cspell project dictionary in apps/docs/cspell.json. It is the standard term for this guide's production-switch step and the lowercase entry also covers the capitalized heading use.
  • Replace façade with facade in the guide, which the default dictionary accepts.

pnpm run lint:spellcheck now passes locally across all 778 docs files.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Clarified MongoDB setup after npx prisma-next init, including that it creates prisma-next.config.ts at the repo root.
    • Updated guidance to enable MongoDB via importing @prisma-next/mongo and to match the same database used in the Prisma v6 connection.
    • Refined “Import the client” steps to use the v6 database name (and omit dbName when it’s already included in DATABASE_URL).
  • Chores
    • Added “cutover” to the spell-check word list.

Add cutover to the cspell project dictionary and switch façade to
facade in the guide. Follow-up to #8111, which landed with these two
words failing the Spellcheck workflow on main.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 28, 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 28, 2026 1:13pm
docs Ready Ready Preview, Comment Jul 28, 2026 1:13pm
eclipse Ready Ready Preview, Comment Jul 28, 2026 1:13pm
site Ready Ready Preview, Comment Jul 28, 2026 1:13pm

Request Review

@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 73c0c084-2c2b-4752-ade8-e5ece02a07ac

📥 Commits

Reviewing files that changed from the base of the PR and between e6a0187 and fc54d3e.

📒 Files selected for processing (1)
  • apps/docs/content/docs/guides/next/upgrade-prisma-orm/mongodb.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/docs/content/docs/guides/next/upgrade-prisma-orm/mongodb.mdx

Walkthrough

The MongoDB upgrade guide clarifies Prisma Next initialization, MongoDB selection, database matching, and dbName usage. The CSpell dictionary adds “cutover”.

Changes

MongoDB upgrade documentation

Layer / File(s) Summary
MongoDB guide clarification
apps/docs/content/docs/guides/next/upgrade-prisma-orm/mongodb.mdx, apps/docs/cspell.json
The guide documents the root configuration file, @prisma-next/mongo facade import, matching database requirements, and dbName handling; CSpell adds “cutover”.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

  • prisma/web#8111: Adds related MongoDB upgrade-guide clarifications and CSpell vocabulary changes.
🚥 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 title accurately summarizes the PR as fixing spellcheck issues tied to the MongoDB migration guide.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/mongo-guide-spellcheck

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

@github-actions

Copy link
Copy Markdown
Contributor

🍈 Lychee Link Check Report

13 links: ✅ 4 OK | 🚫 0 errors | 🔀 0 redirects | 👻 9 excluded

✅ All links are working!


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

@coderabbitai coderabbitai Bot left a comment

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.

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/next/upgrade-prisma-orm/mongodb.mdx`:
- Line 45: Update the adjacent client configuration example to explicitly
instruct readers to replace the hard-coded dbName value with the database name
used by their v6 application, or remove dbName when the connection URL already
specifies it. Keep the migration and runtime connection pointed at the same
database.
🪄 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: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 6dcad533-e8f2-4bbf-a168-6b7f1e31daf7

📥 Commits

Reviewing files that changed from the base of the PR and between df7bbcf and e6a0187.

📒 Files selected for processing (2)
  • apps/docs/content/docs/guides/next/upgrade-prisma-orm/mongodb.mdx
  • apps/docs/cspell.json

Comment thread apps/docs/content/docs/guides/next/upgrade-prisma-orm/mongodb.mdx
@argos-ci

argos-ci Bot commented Jul 28, 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 28, 2026, 1:20 PM

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ankur-arch
ankur-arch merged commit 2ba4a80 into main Jul 28, 2026
16 of 17 checks passed
@ankur-arch
ankur-arch deleted the docs/mongo-guide-spellcheck branch July 28, 2026 13:12
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