Docs/native imp exp - #922
Merged
Merged
Conversation
tensordreams
pushed a commit
that referenced
this pull request
Jul 28, 2026
…ing migrate (PN-CLI-4003) (#922) ## Linked issue n/a — small change (gotcha record). Linear: to be filed in [`pn-gotchas`](https://linear.app/prisma-company/project/pn-gotchas-a6f6f5157a5c/overview); this PR was authored in a session without Linear access, so the entry's **Filed upstream** line says "pending" — please replace it with the ticket id when filing. ## Summary Bootstraps the repo's `gotchas.md` (per `.claude/skills/record-gotchas`) and records one consumer-perspective gotcha: the migration-graph demo fixtures under `examples/prisma-next-demo/fixtures/` render fine offline (`migration graph/list/show/check`) but fail any live `migrate` with **PN-CLI-4003** — their committed `start/end-contract.json` snapshots predate the namespace-tree serialization format (#894), and only apply-time code deserializes predecessor contracts. Hit while writing the public migrations docs (prisma/web#8025); full symptom, cause, workaround, and repro are in the entry. ## Testing performed - Repro verified against `main` @ `e7bd0deb8` with a fresh Postgres 17 container: offline graph commands succeed on all seven fixtures; `migrate --to prod --config fixtures/diamond/...` fails with the quoted PN-CLI-4003 before any SQL runs. - Docs-only change; no suites run. ## Skill update n/a — no user-facing surface changed. (The entry itself is the artifact the `record-gotchas` skill prescribes.) 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Expanded the “Gotchas” documentation into a multi-entry page covering known Prisma Next migration pitfalls. * Added triage/capture guidance, including routing instructions and a link to the capture workflow. * Documented additional failure modes with symptoms, likely causes, workaround steps, and reproduction guidance (including the existing `pnpm prisma-next migrate` issue and two newly captured gotchas). <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Søren Bramer Schmidt <sorenbs@gmail.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.